|
@@ -424,6 +424,12 @@ static int lm3630a_probe(struct i2c_client *client,
|
|
dev_err(&client->dev, "fail : get pwm device\n");
|
|
dev_err(&client->dev, "fail : get pwm device\n");
|
|
return PTR_ERR(pchip->pwmd);
|
|
return PTR_ERR(pchip->pwmd);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ * FIXME: pwm_apply_args() should be removed when switching to
|
|
|
|
+ * the atomic PWM API.
|
|
|
|
+ */
|
|
|
|
+ pwm_apply_args(pchip->pwmd);
|
|
}
|
|
}
|
|
|
|
|
|
/* interrupt enable : irq 0 is not allowed */
|
|
/* interrupt enable : irq 0 is not allowed */
|