mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 02:48:21 +00:00
2146325df2
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> |
||
---|---|---|
.. | ||
include/mach | ||
addr-map.c | ||
common.c | ||
common.h | ||
d2net-setup.c | ||
db88f5281-setup.c | ||
dns323-setup.c | ||
edmini_v2-setup.c | ||
irq.c | ||
Kconfig | ||
kurobox_pro-setup.c | ||
ls_hgl-setup.c | ||
lsmini-setup.c | ||
Makefile | ||
Makefile.boot | ||
mpp.c | ||
mpp.h | ||
mss2-setup.c | ||
mv2120-setup.c | ||
net2big-setup.c | ||
pci.c | ||
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 |