The DEFAULT-ON trigger patches added in r10348 and r10349 were only applied to
2.6.23 kernels.
Now that some architectures are moving to 2.6.24 (including AR7 which uses this
trigger), this patch updates this trigger for the new kernel.
Signed-off-by: Nick Forbes <[EMAIL PROTEC
patch it remains on throughout the
boot process, but can still be controlled from userspace if required.
Signed-off-by: Nick Forbes <[EMAIL PROTECTED]>
Index: target/linux/ar7/config-2.6.23
is a patch to add a new trigger "default-on" which will initialise an LED
in the ON state. It is not compiled by default.
Particular thanks to Rod Whitby for all his help with this.
Signed-off-by: Nick Forbes <[EMAIL PROTECTED]>
---
Rod Whitby
Sent: 10 January 2008 23:36
To: OpenWrt Development List
Subject: Re: [OpenWrt-Devel] [PATCH] Fix leds-gpio brightness for .active_low
LEDs
Nick Forbes wrote:
> The leds-gpio driver initialises all LEDs in the OFF state, however it
> incorrectly sets the "brightness&qu
ious email
("[PATCH] Fix leds-gpio brightness for .active_low LEDs").
Signed-off-by: Nick Forbes <[EMAIL PROTECTED]>
<<01-power-led-on.patch>> ---
--- target/linux/ar7/files/arch/mips/ar7/platform.c.orig2008-01-10
10:52:19.0 +
+++
5 instead of 0.
The attached patch corrects this and also allows each LED to be initialised in
the ON state via ".default_trigger". The patch has been developed against AR7
but will work for any targets that use "leds-gpio", and should go in the
relevant "patches" folde
the VLYNQ device clock divisor to 1 (full rate) results in all
further VLYNQ operations failing (including software reset), so the
device is never enabled. This patches changes the function to only
attempt divisors 2 through 8, and hence the device is successfully
enabled.
Signed-off-by: Nick Forb