From f94d0836740b00fb99861651ce261df94244a1d7 Mon Sep 17 00:00:00 2001 From: Alex He Date: Wed, 22 Aug 2012 11:40:11 +0200 Subject: [PATCH] fix wrong WDTP_MASK in booke_wdt.c in linux-bsc9131qds-2.6.33 --- drivers/watchdog/booke_wdt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c index a01e298..77defbe 100644 --- 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(0x3f)) #else #define WDTP(x) (TCR_WP(x)) #define WDTP_MASK (TCR_WP_MASK) -- 1.7.5.4