Commit 5476b2b77dae50c88aa6a85f21abeac38dde590f

Authored by Abhilash Kesavan
Committed by Wim Van Sebroeck
1 parent 56c67ce187

watchdog: s3c2410_wdt: Fix the mask bit offset for Exynos7

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

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Acked-by: Naveen Krishna Chatradhi <naveenkrishna.ch@gmail.com
Reviewd-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/watchdog/s3c2410_wdt.c
... ... @@ -161,7 +161,7 @@
161 161 static const struct s3c2410_wdt_variant drv_data_exynos7 = {
162 162 .disable_reg = EXYNOS5_WDT_DISABLE_REG_OFFSET,
163 163 .mask_reset_reg = EXYNOS5_WDT_MASK_RESET_REG_OFFSET,
164   - .mask_bit = 0,
  164 + .mask_bit = 23,
165 165 .rst_stat_reg = EXYNOS5_RST_STAT_REG_OFFSET,
166 166 .rst_stat_bit = 23, /* A57 WDTRESET */
167 167 .quirks = QUIRK_HAS_PMU_CONFIG | QUIRK_HAS_RST_STAT,