android_kernel_google_msm/arch/mips/ath79
Felix Fietkau 150189a130 MIPS: ath79: Fix ar933x watchdog clock
commit a1191927ac upstream.

The watchdog device on the AR933x is connected to
the AHB clock, however the current code uses the
reference clock. Due to the wrong rate, the watchdog
driver can't calculate correct register values for
a given timeout value and the watchdog unexpectedly
restarts the system.

The code uses the wrong value since the initial
commit 04225e1d22
(MIPS: ath79: add AR933X specific clock init)

The patch fixes the code to use the correct clock
rate to avoid the problem.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5777/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-26 17:15:50 -07:00
..
clock.c MIPS: ath79: Fix ar933x watchdog clock 2013-09-26 17:15:50 -07:00
common.c MIPS: ath79: Store the SoC revision in a global variable 2011-12-07 22:02:47 +00:00
common.h
dev-common.c MIPS: ath79: register UART device for the AR933X SoCs 2011-12-07 22:02:46 +00:00
dev-common.h MIPS: ath79: add common watchdog device 2011-01-18 19:30:26 +01:00
dev-gpio-buttons.c MIPS: ath79: add common GPIO buttons device 2011-01-18 19:30:27 +01:00
dev-gpio-buttons.h MIPS: ath79: add common GPIO buttons device 2011-01-18 19:30:27 +01:00
dev-leds-gpio.c MIPS: ath79: add common GPIO LEDs device 2011-01-18 19:30:26 +01:00
dev-leds-gpio.h MIPS: ath79: add common GPIO LEDs device 2011-01-18 19:30:26 +01:00
dev-spi.c MIPS: ath79: add common SPI controller device 2011-01-18 19:30:27 +01:00
dev-spi.h MIPS: ath79: add common SPI controller device 2011-01-18 19:30:27 +01:00
dev-usb.c USB: use generic platform driver on ath79 2012-03-15 12:45:43 -07:00
dev-usb.h MIPS: ath79: add common USB Host Controller device 2011-12-07 22:02:44 +00:00
dev-wmac.c MIPS: ath79: fix AR933X WMAC reset code 2012-04-27 15:18:30 +01:00
dev-wmac.h MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h 2011-12-07 22:02:48 +00:00
early_printk.c MIPS: ath79: Add early printk support for the AR933X SoCs 2011-12-07 22:02:45 +00:00
gpio.c MIPS: ath79: add AR933X specific GPIO initialization 2011-12-07 22:02:46 +00:00
irq.c MIPS: ath79: Add AR933X specific IRQ initialization 2011-12-07 22:02:45 +00:00
Kconfig MIPS: ath79: Rename ATH79_DEV_AR913X_WMAC option to ATH79_DEV_WMAC 2011-12-07 22:02:48 +00:00
mach-ap81.c MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h 2011-12-07 22:02:48 +00:00
mach-ap121.c MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h 2011-12-07 22:02:48 +00:00
mach-pb44.c MIPS: ath79: add common USB Host Controller device 2011-12-07 22:02:44 +00:00
mach-ubnt-xm.c Initial support for the Ubiquiti Networks XM board (rev 1.0). 2011-12-07 22:02:47 +00:00
machtypes.h Initial support for the Ubiquiti Networks XM board (rev 1.0). 2011-12-07 22:02:47 +00:00
Makefile MIPS: ath79: Rename dev-ar913x-wmac.c to dev-wmac.c 2011-12-07 22:02:48 +00:00
Platform
prom.c
setup.c Merge branches 'next/ar7', 'next/ath79', 'next/bcm63xx', 'next/bmips', 'next/cavium', 'next/generic', 'next/kprobes', 'next/lantiq', 'next/perf' and 'next/raza' into mips-for-linux-next 2012-01-11 15:42:31 +01:00