mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
backlight: clk_disable should appear after clk_enable
This commit is contained in:
3
drivers/video/backlight/rk2818_backlight.c
Normal file → Executable file
3
drivers/video/backlight/rk2818_backlight.c
Normal file → Executable file
@@ -198,7 +198,8 @@ static void rk2818_bl_suspend(struct early_suspend *h)
|
||||
DBG("%s: ========== suspend =============== \n",__func__);
|
||||
|
||||
write_pwm_reg(id, PWM_REG_HRC, divh);
|
||||
clk_disable(pwm_clk);
|
||||
if (!suspend_flag)
|
||||
clk_disable(pwm_clk);
|
||||
|
||||
suspend_flag = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user