pwm: atmel-pwm: clock can not unprepare after successfully register
Subsystems (3)
PATCH 1/1 pwm: atmel-pwm: clock can not unprepare after successfully register
When the PWM controller is registered successfully, the clock can not unprepare, so fix it.
Signed-off-by Bo Shen <[email protected]>
--- drivers/pwm/pwm-atmel.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/pwm/pwm-atmel.c +2 -0
@@ -362,6 +362,8 @@ static int atmel_pwm_probe(struct platform_device *pdev)platform_set_drvdata (pdev, atmel_pwm); +return ret; + unprepare_clk:clk_unprepare (atmel_pwm->clk);return ret;
Signature · 1 line
1.7.9.5
Thierry Reding
AppliedPATCH 1/1 pwm: atmel-pwm: clock can not unprepare after successfully register
Quoted 7 lines · Bo Shen
When the PWM controller is registered successfully, the clock can not unprepare, so fix it.
Signed-off-by Bo Shen <[email protected]>--- drivers/pwm/pwm-atmel.c | 2 ++ 1 file changed, 2 insertions(+)
Applied, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131220/cd8e0c63/attachment.sig>