commit | a0601c8944dc08c2d349c24bd9c0b09c406229fc | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <Jonathan.Cameron@gmail.com> | Thu Oct 30 11:05:00 2008 +0000 |
committer | Eric Miao <eric.miao@marvell.com> | Thu Oct 30 22:14:10 2008 +0800 |
tree | 740a9aec4a80fadc3f8ce75ce99401631d63169e | |
parent | 56e7d85cf982dda4b453c157f3f64aea1478bc4d [diff] |
leds: da903x: (da9030 only) led brightness reversed. 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>