X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=drivers%2Finput%2Fmisc%2Fmax8997_haptic.c;h=99bc762881d5d40bc0c0788a59698f227da8737d;hb=e28e909c36bb5d6319953822d84df00fce7cbd18;hp=8d6326d7e7beaf1875bb95af385dff1285f10b0e;hpb=c04a5880299eab3da8c10547db96ea9cdffd44a6;p=linux-2.6-block.git diff --git a/drivers/input/misc/max8997_haptic.c b/drivers/input/misc/max8997_haptic.c index 8d6326d7e7be..99bc762881d5 100644 --- a/drivers/input/misc/max8997_haptic.c +++ b/drivers/input/misc/max8997_haptic.c @@ -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: