projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] fixed book E watchdog period register mask.
[linux-drm-fsl-dcu.git]
/
drivers
/
watchdog
/
booke_wdt.c
diff --git
a/drivers/watchdog/booke_wdt.c
b/drivers/watchdog/booke_wdt.c
index 8b724aad6825929b334375075eda02deab687084..500d38342e1ecc7e03f8654cfab7b9d760624664 100644
(file)
--- a/
drivers/watchdog/booke_wdt.c
+++ b/
drivers/watchdog/booke_wdt.c
@@
-44,7
+44,7
@@
u32 booke_wdt_period = WDT_PERIOD_DEFAULT;
#ifdef CONFIG_FSL_BOOKE
#define WDTP(x) ((((x)&0x3)<<30)|(((x)&0x3c)<<15))
-#define WDTP_MASK (WDTP(0))
+#define WDTP_MASK (WDTP(0
x3f
))
#else
#define WDTP(x) (TCR_WP(x))
#define WDTP_MASK (TCR_WP_MASK)