aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-da903x.c
Commit message (Collapse)AuthorAge
* leds: da903x: (da9030 only) led brightness reversed.Jonathan Cameron2008-10-30
| | | | | | | | | | | | The brightness control register calculation (for the pwm) is effectively the reverse of what would be expected. 1 is maximum brightness, 255 minimum. This patch inverts this. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Eric Miao <eric.miao@marvell.com>
* leds: da903x: fix the building failure of incomplete type of 'work'Eric Miao2008-10-27
| | | | | | | | | | | | | The leds-da903x LED driver was missing the proper #include of linux/workqueue.h, but happened to compile on ARM due to implied includes through other header files. We do need the explict include on other architectures (reported at least for x86-64). Reported-tested-and-acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* leds: da903x: Add support for LEDs found on DA9030/DA9034Mike Rapoport2008-10-20
Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>