diff options
Diffstat (limited to 'drivers/pwm/pwm-zx.c')
-rw-r--r-- | drivers/pwm/pwm-zx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/pwm-zx.c b/drivers/pwm/pwm-zx.c index e2c21cc34a96..3763ce5311ac 100644 --- a/drivers/pwm/pwm-zx.c +++ b/drivers/pwm/pwm-zx.c | |||
@@ -238,6 +238,7 @@ static int zx_pwm_probe(struct platform_device *pdev) | |||
238 | ret = pwmchip_add(&zpc->chip); | 238 | ret = pwmchip_add(&zpc->chip); |
239 | if (ret < 0) { | 239 | if (ret < 0) { |
240 | dev_err(&pdev->dev, "failed to add PWM chip: %d\n", ret); | 240 | dev_err(&pdev->dev, "failed to add PWM chip: %d\n", ret); |
241 | clk_disable_unprepare(zpc->pclk); | ||
241 | return ret; | 242 | return ret; |
242 | } | 243 | } |
243 | 244 | ||