[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080623144024.GD8606@doriath.ww600.siemens.net>
Date: Mon, 23 Jun 2008 18:40:24 +0400
From: Dmitry Baryshkov <dbaryshkov@...il.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: netdev@...r.kernel.org, IvDoorn@...il.com
Subject: Re: [PATCH] RFKILL: fix input layer initialisation
On Mon, Jun 23, 2008 at 09:22:39AM -0400, Dmitry Torokhov wrote:
> Hi Dmitry,
>
> On Thu, Jun 19, 2008 at 03:28:41PM +0400, Dmitry Baryshkov wrote:
> > Initialise correctly last fields, so tasks can be actually executed
> >
> > Also move rfkill-input initialisation to subsys level so that it's
> > available before generic drivers probing occurs.
> >
>
> Rfkill-input is an implementation of default policy of handling
> wifi-related key presses, it is not mandatory and should not be
> required for a driver to operate, it may even not be present in the
> kernel and therefore module_init is the appropriate time for its
> initialization. We don't expect user to start pushing WIFI buttons
> while system just starting to boot up, do we?
I do toggle the KEY_BLUETOOTH from the kernel driver early.
The preliminary patch can be found at
http://permalink.gmane.org/gmane.linux.ports.arm.kernel/43136
The idea was to drive the bluetooth chip attached to the UART from the
uart pm hook.
--
With best wishes
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists