diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
commit | 2a7348129a42f21095fcd62e47a035f78d254130 (patch) | |
tree | 544dc8019a8f8cb684ace8674193605e607f9964 /recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch | |
download | meta-enea-2a7348129a42f21095fcd62e47a035f78d254130.tar.gz |
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch')
-rw-r--r-- | recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch b/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch new file mode 100644 index 0000000..fa5d061 --- /dev/null +++ b/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0004-fix-wrong-WDTP_MASK-in-booke_wdt_c.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From f94d0836740b00fb99861651ce261df94244a1d7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alex He <Alex.He@enea.com> | ||
3 | Date: Wed, 22 Aug 2012 11:40:11 +0200 | ||
4 | Subject: [PATCH] fix wrong WDTP_MASK in booke_wdt.c in | ||
5 | linux-bsc9131qds-2.6.33 | ||
6 | |||
7 | --- | ||
8 | drivers/watchdog/booke_wdt.c | 2 +- | ||
9 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c | ||
12 | index a01e298..77defbe 100644 | ||
13 | --- a/drivers/watchdog/booke_wdt.c | ||
14 | +++ b/drivers/watchdog/booke_wdt.c | ||
15 | @@ -44,7 +44,7 @@ u32 booke_wdt_period = WDT_PERIOD_DEFAULT; | ||
16 | |||
17 | #ifdef CONFIG_FSL_BOOKE | ||
18 | #define WDTP(x) ((((x)&0x3)<<30)|(((x)&0x3c)<<15)) | ||
19 | -#define WDTP_MASK (WDTP(0)) | ||
20 | +#define WDTP_MASK (WDTP(0x3f)) | ||
21 | #else | ||
22 | #define WDTP(x) (TCR_WP(x)) | ||
23 | #define WDTP_MASK (TCR_WP_MASK) | ||
24 | -- | ||
25 | 1.7.5.4 | ||
26 | |||