ARM: SAMSUNG: fix watchdog reset issue with clk_get()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 5 Sep 2011 11:10:06 +0000 (20:10 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 15 Sep 2011 04:59:58 +0000 (13:59 +0900)
commitcaf27307fa322f079338480c7a3387e79d7d3712
tree44e8e7e19967906feff0d9173d7618eb1c58b5b8
parent0685d5ec3e8a2462c29920c1f8187a6c640b6fc9
ARM: SAMSUNG: fix watchdog reset issue with clk_get()

clkdev framework uses global mutex to protect clock tree, so it is not
possible to call clk_get() in interrupt context. This patch fixes this
issue and makes system reset by watchdog call working again.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/clock.c
arch/arm/plat-samsung/include/plat/clock.h
arch/arm/plat-samsung/include/plat/watchdog-reset.h