diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-14 10:28:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 08:53:25 -0700 |
commit | be443a52b085a10b696e7abc26524e709839e8d1 (patch) | |
tree | 581b2eb16fa60f64c5f5c5746fdd28f03c4b3de2 | |
parent | d2375bc5f69b8a76b3b706c92d90b5d772dc4c97 (diff) | |
download | lwn-be443a52b085a10b696e7abc26524e709839e8d1.tar.gz lwn-be443a52b085a10b696e7abc26524e709839e8d1.zip |
MIPS: ath79: fix AR933X WMAC reset code
commit de14ca6ae2c592d66db88f1e5596b26f7f011384 upstream.
The current code puts the built-in WMAC device of the
AR933X SoCs into reset instead of starting it. This
causes a hard lock on AR933X based boards when the
wireless driver tries to access the device.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3484/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/mips/ath79/dev-wmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ath79/dev-wmac.c b/arch/mips/ath79/dev-wmac.c index e21507052066..9c717bf98ffe 100644 --- a/arch/mips/ath79/dev-wmac.c +++ b/arch/mips/ath79/dev-wmac.c @@ -58,8 +58,8 @@ static void __init ar913x_wmac_setup(void) static int ar933x_wmac_reset(void) { - ath79_device_reset_clear(AR933X_RESET_WMAC); ath79_device_reset_set(AR933X_RESET_WMAC); + ath79_device_reset_clear(AR933X_RESET_WMAC); return 0; } |