]> git.kernelconcepts.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>
Thu, 8 Dec 2011 22:34:02 +0000 (14:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Dec 2011 20:58:21 +0000 (12:58 -0800)
commitc7443ad3168fc2fdafdaec2ad5facf9704937092
tree3621e9eb585ac36e5520b677700cbe03f79afe36
parentbc0d9454f9eea8dc68d43cc485ea8125244a2a79
drivers/rtc/rtc-s3c.c: fix driver clock enable/disable balance issues

commit 2dbcd05f1e9e0932833d16dab1696176fc164b07 upstream.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/rtc/rtc-s3c.c