]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Dec 2011 15:50:28 +0000 (07:50 -0800)
commit2dbcd05f1e9e0932833d16dab1696176fc164b07
tree737d8870a8e828c11d06c53931e329744d0cbfde
parent1de8ad43d0048963d0a0adf14bb046340426b1e4
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c