]> 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>
Thu, 8 Dec 2011 04:32:01 +0000 (15:32 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Dec 2011 04:52:18 +0000 (15:52 +1100)
commitf585da130168ce018232438fcb682fd065916e10
tree22dcfd5259732069b15339f66b0f0a8252f5c144
parent19adc27f285f77807b5e6e91261c60ed8beed577
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