android_kernel_xiaomi_sm8350/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
common.c mach-orion5x/common.c: remove unnecessary (void *) casts 2010-02-04 21:10:54 -05:00
common.h
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
irq.c
Kconfig [ARM] Orion: Add Buffalo Linkstation LS-HGL support 2010-02-05 00:27:06 -05:00
kurobox_pro-setup.c
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
mpp.h
mss2-setup.c
mv2120-setup.c
net2big-setup.c
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
rd88f5181l-ge-setup.c
rd88f5182-setup.c
rd88f6183ap-ge-setup.c
terastation_pro2-setup.c
ts78xx-fpga.h
ts78xx-setup.c
ts209-setup.c
ts409-setup.c
tsx09-common.c
tsx09-common.h
wnr854t-setup.c
wrt350n-v2-setup.c [ARM] Orion5x: replace KEY_WLAN with KEY_WPS_BUTTON 2010-03-23 13:48:15 -04:00