]> git.baikalelectronics.ru Git - kernel.git/commit
backlight: pwm_bl: Remove useless call to pwm_set_period()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 30 Mar 2016 20:03:25 +0000 (22:03 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 17 May 2016 12:44:58 +0000 (14:44 +0200)
commitc2f7c2069235035d4aa8f0dab3487370c18ee0ae
tree78040e859d1a61bdda2c2ea356ae5049361039ac
parentc5b493ca2ac8a8820e1f651ec1fbfb95cfab9db6
backlight: pwm_bl: Remove useless call to pwm_set_period()

The PWM period will be set when calling pwm_config. Remove this useless
call to pwm_set_period(), which might mess up the internal PWM state.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/video/backlight/pwm_bl.c