aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.6/552-ssb-extif-add-check-for-max-value-in-watchdog.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-12 22:42:18 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-12-12 22:42:18 +0000
commit1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068 (patch)
tree3e1be3d06231d100c7133e2413cda80d9a74a9b8 /target/linux/brcm47xx/patches-3.6/552-ssb-extif-add-check-for-max-value-in-watchdog.patch
parentd085aad2880f799cc09b03a3329635ad84551d3b (diff)
downloadupstream-1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068.tar.gz
upstream-1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068.tar.bz2
upstream-1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068.zip
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
SVN-Revision: 34651
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/552-ssb-extif-add-check-for-max-value-in-watchdog.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.6/552-ssb-extif-add-check-for-max-value-in-watchdog.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/552-ssb-extif-add-check-for-max-value-in-watchdog.patch b/target/linux/brcm47xx/patches-3.6/552-ssb-extif-add-check-for-max-value-in-watchdog.patch
deleted file mode 100644
index c6756dd11a..0000000000
--- a/target/linux/brcm47xx/patches-3.6/552-ssb-extif-add-check-for-max-value-in-watchdog.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/drivers/ssb/driver_extif.c
-+++ b/drivers/ssb/driver_extif.c
-@@ -112,9 +112,10 @@ void ssb_extif_get_clockcontrol(struct s
- *m = extif_read32(extif, SSB_EXTIF_CLOCK_SB);
- }
-
--void ssb_extif_watchdog_timer_set(struct ssb_extif *extif,
-- u32 ticks)
-+void ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks)
- {
-+ if (ticks > SSB_EXTIF_WATCHDOG_MAX_TIMER)
-+ ticks = SSB_EXTIF_WATCHDOG_MAX_TIMER;
- extif_write32(extif, SSB_EXTIF_WATCHDOG, ticks);
- }
-
---- a/include/linux/ssb/ssb_driver_extif.h
-+++ b/include/linux/ssb/ssb_driver_extif.h
-@@ -152,6 +152,7 @@
- /* watchdog */
- #define SSB_EXTIF_WATCHDOG_CLK 48000000 /* Hz */
-
-+#define SSB_EXTIF_WATCHDOG_MAX_TIMER ((1 << 28) - 1)
-
-
- #ifdef CONFIG_SSB_DRIVER_EXTIF