X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=drivers%2Finput%2Fmisc%2Fpwm-beeper.c;h=5f9655d49a65475f4e64a6ac85de5b34f33ee321;hb=ed2608faa0f701b1dbc65277a9e5c7ff7118bfd4;hp=18663d4edae5be089b112f5a0c3f830ae3ca432c;hpb=f49cf3b8b4c841457244c461c66186a719e13bcc;p=cascardo%2Flinux.git diff --git a/drivers/input/misc/pwm-beeper.c b/drivers/input/misc/pwm-beeper.c index 18663d4edae5..5f9655d49a65 100644 --- 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();