]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-s3c.c: fix driver clock enable/disable balance issues
authorJonghwan Choi <jhbird.choi@samsung.com>
Fri, 2 Dec 2011 03:06:48 +0000 (14:06 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Dec 2011 05:32:29 +0000 (16:32 +1100)
commita51fbce6030a6075bfbd57b92200d6269ffc3afc
tree697aca714ec110e2bfcebeb980eb518b1eaeb553
parent48a98ba8f37d48d8ebddef86cd73bceaf37b1eac
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: Jonghwan Choi <jhbird.choi@samsung.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-s3c.c