Skip to content
Commit 2dbcd05f authored by Jonghwan Choi's avatar Jonghwan Choi Committed by Linus Torvalds
Browse files

drivers/rtc/rtc-s3c.c: fix driver clock enable/disable balance issues



If an error occurs after the clock is enabled, the enable/disable state
can become unbalanced.

Signed-off-by: default avatarJonghwan Choi <jhbird.choi@samsung.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1de8ad43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment