android_kernel_samsung_msm8976/arch/mips/ath79
Felix Fietkau 2008c41d07 MIPS: ath79: Fix ar933x watchdog clock
commit a1191927ace7e6f827132aa9e062779eb3f11fa5 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:18:27 -07:00
..
Kconfig MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board 2013-02-19 09:36:34 +01:00
Makefile MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board 2013-02-19 09:36:34 +01:00
Platform
clock.c MIPS: ath79: Fix ar933x watchdog clock 2013-09-26 17:18:27 -07:00
common.c MIPS: ath79: add QCA955X specific glue to ath79_device_reset_{set, clear} 2013-02-19 09:36:27 +01:00
common.h
dev-common.c Merge git://www.linux-watchdog.org/linux-watchdog 2013-03-03 10:23:29 -08:00
dev-common.h
dev-gpio-buttons.c
dev-gpio-buttons.h
dev-leds-gpio.c
dev-leds-gpio.h
dev-spi.c
dev-spi.h
dev-usb.c MIPS: ath79: add USB controller registration code for the QCA955X SoCs 2013-02-19 09:36:33 +01:00
dev-usb.h
dev-wmac.c MIPS: ath79: add WMAC registration code for the QCA955X SoCs 2013-02-19 09:36:30 +01:00
dev-wmac.h
early_printk.c MIPS: ath79: add early printk support for the QCA955X SoCs 2013-02-19 09:36:24 +01:00
gpio.c MIPS: ath79: add GPIO setup code for the QCA955X SoCs 2013-02-19 09:36:26 +01:00
irq.c MIPS: ath79: add IRQ handling code for the QCA955X SoCs 2013-02-19 09:36:25 +01:00
mach-ap81.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ap121.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ap136.c MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board 2013-02-19 09:36:34 +01:00
mach-db120.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-pb44.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ubnt-xm.c
machtypes.h MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board 2013-02-19 09:36:34 +01:00
pci.c MIPS: ath79: add PCI controller registration code for the QCA955X SoCs 2013-02-19 09:36:32 +01:00
pci.h MIPS: ath79: allow to specify bus number in PCI IRQ maps 2013-02-17 01:25:38 +01:00
prom.c
setup.c MIPS: Idle: Consolidate all declarations in <asm/idle.h>. 2013-05-22 01:34:27 +02:00