|
@@ -208,7 +208,7 @@ static int hibvt_pwm_probe(struct platform_device *pdev)
|
|
if (ret < 0)
|
|
if (ret < 0)
|
|
return ret;
|
|
return ret;
|
|
|
|
|
|
- pwm_chip->rstc = devm_reset_control_get(&pdev->dev, NULL);
|
|
|
|
|
|
+ pwm_chip->rstc = devm_reset_control_get_exclusive(&pdev->dev, NULL);
|
|
if (IS_ERR(pwm_chip->rstc)) {
|
|
if (IS_ERR(pwm_chip->rstc)) {
|
|
clk_disable_unprepare(pwm_chip->clk);
|
|
clk_disable_unprepare(pwm_chip->clk);
|
|
return PTR_ERR(pwm_chip->rstc);
|
|
return PTR_ERR(pwm_chip->rstc);
|