[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1305313374.10961.23.camel@rklein-linux2>
Date: Fri, 13 May 2011 12:02:54 -0700
From: Rhyland Klein <rklein@...dia.com>
To: "John W. Linville" <linville@...driver.com>
Cc: "olof@...om.net" <olof@...om.net>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Johannes Berg <johannes@...solutions.net>
Subject: Re: [PATCH v2] net: rfkill: add generic gpio rfkill driver
On Fri, 2011-05-13 at 00:15 -0700, Johannes Berg wrote:
> On Thu, 2011-05-12 at 14:23 -0700, Rhyland Klein wrote:
> > On Thu, 2011-05-12 at 12:02 -0700, Johannes Berg wrote:
> > > On Thu, 2011-05-12 at 11:52 -0700, Rhyland Klein wrote:
> > >
> > > > > If, on the other hand, rfkill decides that at the time of loading the
> > > > > driver wifi should be on, then the first change would be +1 and it'll
> > > > > flip between 0 and +1.
> > > > >
> > > > > This seems like it'll cause issues at some point, so I think you should
> > > > > either allow the driver to set the initial state or hardcode one of
> > > > > these possibilities (so at least it's predictable)
> > >
> > > > I won't go negative, if you look, it only will disable clock if it knows
> > > > it has already enabled it.
> > >
> > > Ah, you're right, I misread the macros.
>
> > So the patch is good as is?
>
> I think so, yes.
>
> johannes
>
John, Johannes suggested you are able to pull in this patch?
rhyland
--
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