UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Mar 2017 10:28:40 +0000 (18:28 +0800)
commita0a5f14bc8620564b428025f7ab812d2c5d9a87e
tree25d9e5a5dc478aad028da1f026fb3b5920518829
parent394b99f37dd199599e383024dc40aa84eec6de3e
UPSTREAM: 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>
(cherry picked from commit 7f044b09b68d36811518c55f736a20648e8ed6e2)

Change-Id: I6eecc6cd8e9dbe5929bdc016433772a721711928
Signed-off-by: David Wu <david.wu@rock-chips.com>
drivers/video/backlight/pwm_bl.c