Skip to contentSkip to conversation

watchdog - v3.18-rc7 Fixes

GIT PULL Wim Van Sebroeck 1 participant 1 message Dec 6, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull from 'master' branch of
git://www.linux-watchdog.org/linux-watchdog.git

It will fix the watchdog mask bit offset for Exynos7.

This will update the following files:

 s3c2410_wdt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

with these Changes:

commit 5476b2b77dae50c88aa6a85f21abeac38dde590f

Author: Abhilash Kesavan <[email protected]>
Date:   Fri Oct 17 21:42:53 2014 +0530

watchdog: s3c2410_wdt: Fix the mask bit offset for Exynos7

The watchdog mask bit offset listed for Exynos7 is incorrect. Fix this.

For completeness, I added the overal diff below.

Greetings,
Wim.

================================================================================

drivers/watchdog/s3c2410_wdt.c +1 -1
index 8532c3e..1626dc6 100644
@@ -161,7 +161,7 @@ static const struct s3c2410_wdt_variant drv_data_exynos5420 = {
 static const struct s3c2410_wdt_variant drv_data_exynos7 = {
        .disable_reg = EXYNOS5_WDT_DISABLE_REG_OFFSET,
        .mask_reset_reg = EXYNOS5_WDT_MASK_RESET_REG_OFFSET,
-       .mask_bit = 0,
+       .mask_bit = 23,
        .rst_stat_reg = EXYNOS5_RST_STAT_REG_OFFSET,
        .rst_stat_bit = 23,     /* A57 WDTRESET */
        .quirks = QUIRK_HAS_PMU_CONFIG | QUIRK_HAS_RST_STAT,