]> 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>
Wed, 30 Nov 2011 04:03:01 +0000 (15:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:31 +0000 (15:13 +1100)
commit7a0a2b1335f1ea57920ce6920f26ca1787bb4fec
tree11b89bdfa82bcab190846efd4e40f00b297c5dc5
parentabf5d6d23d8308427481eb0ca122f3232d130987
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