projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: lp8788: Explicitly apply PWM config extracted from pwm_args
[cascardo/linux.git]
/
drivers
/
video
/
backlight
/
lp8788_bl.c
diff --git
a/drivers/video/backlight/lp8788_bl.c
b/drivers/video/backlight/lp8788_bl.c
index
5d583d7
..
cf869ec
100644
(file)
--- a/
drivers/video/backlight/lp8788_bl.c
+++ b/
drivers/video/backlight/lp8788_bl.c
@@
-145,6
+145,12
@@
static void lp8788_pwm_ctrl(struct lp8788_bl *bl, int br, int max_br)
}
bl->pwm = pwm;
+
+ /*
+ * FIXME: pwm_apply_args() should be removed when switching to
+ * the atomic PWM API.
+ */
+ pwm_apply_args(pwm);
}
pwm_config(bl->pwm, duty, period);