commit | 4df7309af6f7988da15fc9a0175fc60b997cc0d7 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Aug 01 20:40:34 2012 +0800 |
committer | Bryan Wu <bryan.wu@canonical.com> | Wed Aug 08 09:49:53 2012 +0800 |
tree | 545f60503629b951e41091af11079ee15e953c0a | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee [diff] |
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>