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
index 18663d4..5f9655d 100644 (file)
@@ -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();