ARM: SAMSUNG: use spin_lock_irqsave() in clk_{enable,disable}
authorMinho Ban <mhban@samsung.com>
Fri, 20 Jan 2012 02:03:07 +0000 (11:03 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 11 Feb 2012 16:03:02 +0000 (01:03 +0900)
commit0cdf3affd3ddf4ff1a88e32b89bc629d569793f3
tree1d67f49bb9fbb3fb7edcb3ed6f539dd0e5ddcefc
parent8942ad89a059f9854ddf7223ca6e32869d7d9059
ARM: SAMSUNG: use spin_lock_irqsave() in clk_{enable,disable}

The clk_enable()and clk_disable() can be used process and ISR either.
And actually it is used for real product and other platforms use it
now. So spin_lock_irqsave() should be used instead.

Signed-off-by: Minho Ban <mhban@samsung.com>
Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/clock.c