RE: [PATCH] ARM: Samsung: fix watchdog reset issue with clk_get()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marek Szyprowski wrote:
> 
> 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@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
>  arch/arm/mach-exynos4/clock.c                      |    1 +
>  arch/arm/mach-s3c2412/clock.c                      |    1 +
>  arch/arm/mach-s3c2416/clock.c                      |    2 +-
>  arch/arm/mach-s3c2443/clock.c                      |    1 +
>  arch/arm/mach-s3c64xx/clock.c                      |    1 +
>  arch/arm/mach-s5p64x0/cpu.c                        |    2 ++
>  arch/arm/mach-s5pc100/clock.c                      |    1 +
>  arch/arm/mach-s5pv210/clock.c                      |    1 +
>  arch/arm/plat-s3c24xx/s3c2410-clock.c              |    1 +
>  arch/arm/plat-samsung/clock.c                      |    9 +++++++++
>  arch/arm/plat-samsung/include/plat/clock.h         |    2 ++
>  .../arm/plat-samsung/include/plat/watchdog-reset.h |   10 +++-------
>  12 files changed, 24 insertions(+), 8 deletions(-)
> 

(snip)

> +void s3c_wdt_reset_init(void)
+void __init s3c_wdt_reset_init(void)

(snip)

> +extern void s3c_wdt_reset_init(void);
+extern void __init s3c_wdt_reset_init(void);

(snip)

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux