From 2a7348129a42f21095fcd62e47a035f78d254130 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 12 Dec 2013 17:36:38 +0100 Subject: initial commit of Enea Linux 3.1 Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau --- .../0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 recipes-kernel/linux/linux-bsc913x/bsc9132qds/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch (limited to 'recipes-kernel/linux/linux-bsc913x/bsc9132qds/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch') diff --git a/recipes-kernel/linux/linux-bsc913x/bsc9132qds/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch b/recipes-kernel/linux/linux-bsc913x/bsc9132qds/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch new file mode 100644 index 0000000..c9e2308 --- /dev/null +++ b/recipes-kernel/linux/linux-bsc913x/bsc9132qds/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch @@ -0,0 +1,26 @@ +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-bsc9132qds-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 + -- cgit v1.2.3-54-g00ecf