1
linux/arch/arm/mach-orion5x
Benjamin Herrenschmidt 2146325df2 leds: leds-gpio: Change blink_set callback to be able to turn off blinking
The leds-gpio blink_set() callback follows the same prototype as the
main leds subsystem blink_set() one.

The problem is that to stop blink, normally, a leds driver does it
in the brightness_set() callback when asked to set a new fixed value.

However, with leds-gpio, the platform has no hook to do so, as this
later callback results in a standard GPIO manipulation.

This changes the leds-gpio specific callback to take a new argument
that indicates whether the LED should be blinking or not and in what
state it should be set if not. We also update the dns323 platform
which seems to be the only user of this so far.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-26 13:07:55 +01:00
..
include/mach Merge branch 'misc2' into devel 2010-02-25 22:09:41 +00:00
addr-map.c ¶ARM] Orion5x: fix cpu window mapping for 88f6183 2009-08-10 18:03:59 -04:00
common.c mach-orion5x/common.c: remove unnecessary (void *) casts 2010-02-04 21:10:54 -05:00
common.h [ARM] orion5x: register the crypto device on SOCs that support it 2009-06-15 00:37:08 -04:00
d2net-setup.c [ARM] Orion5x: enable SATA LED blinking for d2net 2010-02-09 20:49:01 -05:00
db88f5281-setup.c
dns323-setup.c leds: leds-gpio: Change blink_set callback to be able to turn off blinking 2010-05-26 13:07:55 +01:00
edmini_v2-setup.c [ARM] EDMINIV2: add support for LED and power button 2008-09-25 16:27:22 -04:00
irq.c [ARM] 5460/1: Orion: reduce namespace pollution 2009-04-23 23:25:41 +01:00
Kconfig [ARM] Orion: Add Buffalo Linkstation LS-HGL support 2010-02-05 00:27:06 -05:00
kurobox_pro-setup.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-10-11 10:09:45 -07:00
ls_hgl-setup.c [ARM] orion5x: fix some improper includes in Linkstation files 2010-02-05 00:27:07 -05:00
lsmini-setup.c [ARM] orion5x: fix some improper includes in Linkstation files 2010-02-05 00:27:07 -05:00
Makefile [ARM] Orion: Add Buffalo Linkstation LS-HGL support 2010-02-05 00:27:06 -05:00
Makefile.boot
mpp.c [ARM] orion: convert gpio to use gpiolib 2009-06-08 13:04:57 -04:00
mpp.h
mss2-setup.c [ARM] orion5x: Change names of defines for Reset-Out-Mask register 2009-06-08 13:04:59 -04:00
mv2120-setup.c
net2big-setup.c [ARM] orion5x: Add LaCie NAS 2Big Network support 2009-09-08 14:10:35 -04:00
pci.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
rd88f5181l-fxo-setup.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
rd88f5181l-ge-setup.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
rd88f5182-setup.c
rd88f6183ap-ge-setup.c dsa: add switch chip cascading support 2009-03-21 19:06:54 -07:00
terastation_pro2-setup.c
ts78xx-fpga.h [ARM] orion: add hwrng timeriomem hook to TS-78xx 2009-06-03 15:29:40 -04:00
ts78xx-setup.c [ARM] orion: add hwrng timeriomem hook to TS-78xx 2009-06-03 15:29:40 -04:00
ts209-setup.c
ts409-setup.c
tsx09-common.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-10-11 10:09:45 -07:00
tsx09-common.h
wnr854t-setup.c [ARM] orion5x: WNR854T switch support 2009-06-08 13:05:00 -04:00
wrt350n-v2-setup.c [ARM] Orion5x: replace KEY_WLAN with KEY_WPS_BUTTON 2010-03-23 13:48:15 -04:00