Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-2.6-block.git] / drivers / input / misc / max8997_haptic.c
index 8d6326d7e7beaf1875bb95af385dff1285f10b0e..99bc762881d5d40bc0c0788a59698f227da8737d 100644 (file)
@@ -306,6 +306,12 @@ static int max8997_haptic_probe(struct platform_device *pdev)
                                error);
                        goto err_free_mem;
                }
+
+               /*
+                * FIXME: pwm_apply_args() should be removed when switching to
+                * the atomic PWM API.
+                */
+               pwm_apply_args(chip->pwm);
                break;
 
        default: