MIPS: ralink: fix USB frequency scaling
authorJohn Crispin <blogic@openwrt.org>
Mon, 4 Jan 2016 19:23:57 +0000 (20:23 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Jan 2016 23:39:20 +0000 (00:39 +0100)
commitfad2522272ed5ed451d2d7b1dc547ddf3781cc7e
tree66bbb7ef467972e2a1967a794d320166f3627340
parente906a5f67e5a3337d696ec848e9c28fc68b39aa3
MIPS: ralink: fix USB frequency scaling

Commit 418d29c87061 ("MIPS: ralink: Unify SoC id handling") was not fully
correct. The logic for the SoC check got inverted. We need to check if it
is not a MT76x8.

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