[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1211298846.8328.1254165905@webmail.messagingengine.com>
Date: Tue, 20 May 2008 12:54:06 -0300
From: "Henrique de Moraes Holschuh" <hmh@....eng.br>
To: "Ivo van Doorn" <ivdoorn@...il.com>
Cc: linux-kernel@...r.kernel.org, "Thomas Renninger" <trenn@...e.de>,
"Dmitry Torokhov" <dtor@...l.ru>
Subject: Re: [PATCH 15/15] rfkill: document rw rfkill switches and clarify input
subsystem interactions
On Tue, 20 May 2008 12:09:08 +0200, "Ivo van Doorn" <ivdoorn@...il.com> said:
> > +You should:
> > - rfkill_allocate()
> > - - input_allocate_polled_device()
> > + - modify rfkill fields (flags, name)
> > + - modify state to the current hardware state (THIS IS THE ONLY TIME
> > + YOU CAN ACCESS state DIRECTLY)
> > - rfkill_register()
> > - - input_register_polled_device()
>
> Wasn't it the plan to send the current hardware state as rfkill
> registration argument,
> so we can force drivers to send a valid state to rfkill?
Yes, but IMHO we should do that in a future patch. That patch will touch
every rfkill driver, so I'd rather we do that later. IMHO it is best to get
the most important stuff merged, first...
Then, in that future patch, we change the API, fix all in-tree drivers using
that API, and update the documentation to match the new API. For now, we
update the documentation to match the current API.
What do you think?
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists