diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-08-01 14:40:34 +0200 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-08-08 03:49:53 +0200 |
commit | 4df7309af6f7988da15fc9a0175fc60b997cc0d7 (patch) | |
tree | 545f60503629b951e41091af11079ee15e953c0a /drivers/leds/led-triggers.c | |
parent | Linux 3.6-rc1 (diff) | |
download | linux-4df7309af6f7988da15fc9a0175fc60b997cc0d7.tar.xz linux-4df7309af6f7988da15fc9a0175fc60b997cc0d7.zip |
leds: lp8788: Fix updating scale configuration bits
We need to do left shift (cfg->num + LP8788_ISINK_SCALE_OFFSET) bits for
updating scale configuration.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Tested-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions