| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH] MIPS: ath79: fix AR933X WMAC reset code |
| From: | Gabor Juhos <juhosg@openwrt.org> |
| Date: | Mon, 23 Jan 2012 19:29:07 +0100 |
| Cc: | linux-mips@linux-mips.org, Gabor Juhos <juhosg@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
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>
---
Ralf,
This one is for 3.3.
Thanks,
Gabor
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 e215070..9c717bf 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;
}
--
1.7.2.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 4/7] USB: EHCI: Add a generic platform device driver, Alan Stern |
|---|---|
| Next by Date: | Re: [PATCH 4/7] USB: EHCI: Add a generic platform device driver, Hauke Mehrtens |
| Previous by Thread: | [PATCH] mips: fix netlogic defconfigs for coverage builds, Paul Gortmaker |
| Next by Thread: | [PATCH 3/3] clocksource: Convert mips pnx8550 to use clocksource_register_hz, John Stultz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |