aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/swconfig_leds.c
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: swconfig: use the local helper to set LED brightness on link downGabor Juhos2014-01-261-1/+1
| | | | | | | | | | | | Use the 'swconfig_trig_set_brightness' function to set the brightness value of the LED when the link goes down. This ensures that the last brighness value is saved into a local variable which is used to track the actual LED status. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39402
* generic: swconfig: use led_set_brightness in LED control codeGabor Juhos2012-10-261-2/+2
| | | | | | | | | | | The 'led_brightness_set' function has been renamed to 'led_set_brightness' in recent ernels. Use the new name and add a compatibility patch for 3.3. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33946
* kernel: swconfig: introduce a generic switch LED triggerGabor Juhos2011-12-311-0/+354
SVN-Revision: 29627