projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[cascardo/linux.git]
/
drivers
/
input
/
misc
/
pwm-beeper.c
diff --git
a/drivers/input/misc/pwm-beeper.c
b/drivers/input/misc/pwm-beeper.c
index
18663d4
..
5f9655d
100644
(file)
--- a/
drivers/input/misc/pwm-beeper.c
+++ b/
drivers/input/misc/pwm-beeper.c
@@
-115,6
+115,12
@@
static int pwm_beeper_probe(struct platform_device *pdev)
goto err_free;
}
+ /*
+ * FIXME: pwm_apply_args() should be removed when switching to
+ * the atomic PWM API.
+ */
+ pwm_apply_args(beeper->pwm);
+
INIT_WORK(&beeper->work, pwm_beeper_work);
beeper->input = input_allocate_device();