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: NAxel Lin <axel.lin@gmail.com> Acked-by: NMilo(Woogyom) Kim <milo.kim@ti.com> Tested-by: NMilo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: NBryan Wu <bryan.wu@canonical.com>
Showing
想要评论请 注册 或 登录