mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
backlight: clk_disable should appear after clk_enable
This commit is contained in:
parent
453f143580
commit
a64ca7255c
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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user