* [PATCH] pwm: atmel-pwm: clock can not unprepare after successfully register
@ 2013-12-19 3:42 Bo Shen
2013-12-20 9:50 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: Bo Shen @ 2013-12-19 3:42 UTC (permalink / raw)
To: linux-arm-kernel
When the PWM controller is registered successfully, the clock can not
unprepare, so fix it.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
drivers/pwm/pwm-atmel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index 657e90a..bf4144a 100644
--- a/drivers/pwm/pwm-atmel.c
+++ b/drivers/pwm/pwm-atmel.c
@@ -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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] pwm: atmel-pwm: clock can not unprepare after successfully register
2013-12-19 3:42 [PATCH] pwm: atmel-pwm: clock can not unprepare after successfully register Bo Shen
@ 2013-12-20 9:50 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2013-12-20 9:50 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Dec 19, 2013 at 11:42:22AM +0800, Bo Shen wrote:
> When the PWM controller is registered successfully, the clock can not
> unprepare, so fix it.
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
> 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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-20 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 3:42 [PATCH] pwm: atmel-pwm: clock can not unprepare after successfully register Bo Shen
2013-12-20 9:50 ` Thierry Reding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).