[PATCH] powerpc: Update Warp to use leds-gpio driver
Sean MacLennan
smaclennan at pikatech.com
Sat Apr 18 14:37:45 EST 2009
On Fri, 17 Apr 2009 20:12:50 -0700 (PDT)
"Trent Piepho" <xyzzy at speakeasy.org> wrote:
> On Mon, 6 Apr 2009, Sean MacLennan wrote:
> > Now that leds-gpio is a proper OF platform driver, the Warp can use
> > the leds-gpio driver rather than the old out-of-kernel driver.
> >
> > One side-effect is the leds-gpio driver always turns the leds off
> > while the old driver left them alone. So we have to set them back to
> > the correct settings.
>
> Originally, I had the OF bindings support this feature, see
> http://article.gmane.org/gmane.linux.kernel/749094
>
> Maybe this would be a better way to do it? It avoids the glitch in
> the leds, is less code overall, and can be use by other devices that
> might want this same behavior.
Yes, that is a cleaner way to handle the LEDs. Do you know why this
patch wasn't accepted at the time? A quick google shows that Grant
Likely acked it.
The patch will no longer apply since default state does not exist.
Cheers,
Sean
More information about the Linuxppc-dev
mailing list