MIPS: ralink: Fix usb issue during frequency scaling
authorJohn Crispin <blogic@openwrt.org>
Wed, 4 Nov 2015 10:50:08 +0000 (11:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 11 Nov 2015 07:37:59 +0000 (08:37 +0100)
commitb361bd762e7724e660a44955ae4840aa984e3871
tree586047e7f0f3fcb708ab4cee4b531d60a97123e7
parent418d29c8706170c6801998e48341181b274a47a8
MIPS: ralink: Fix usb issue during frequency scaling

If the USB HCD is running and the cpu is scaled too low, then the USB
stops working. Increase the idle speed of the core to fix this if the
kernel is built with USB support.

The "magic" values are taken from the Ralink SDK Kernel.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11441/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/mt7620.c