]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8690f4f95092b8d3887c5d794528be3929f5308f
tree44e8e7e19967906feff0d9173d7618eb1c58b5b8
parentdd28873441fbd2192baed49df680ec6ad13a42cb
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