projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3efca0
)
rt2x00: remove MCU requests for SoC platforms
author
Luis Correia
<
[email protected]
>
Sat, 3 Apr 2010 11:49:53 +0000
(12:49 +0100)
committer
Gertjan van Wingerde
<
[email protected]
>
Sat, 3 Apr 2010 14:04:11 +0000
(16:04 +0200)
The ralink SoC platforms do not have an MCU.
Signed-off-by: Luis Correia <
[email protected]
>
Acked-by: Ivo van Doorn <
[email protected]
>
Signed-off-by: Gertjan van Wingerde <
[email protected]
>
drivers/net/wireless/rt2x00/rt2800pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2800pci.c
b/drivers/net/wireless/rt2x00/rt2800pci.c
index ce7e88ecbb0023fdd8ebbd704e8dbcf6e2756d93..1df2d44a61583cb408f777d0c513fdda51b10021 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2800pci.c
+++ b/
drivers/net/wireless/rt2x00/rt2800pci.c
@@
-60,6
+60,12
@@
static void rt2800pci_mcu_status(struct rt2x00_dev *rt2x00dev, const u8 token)
unsigned int i;
u32 reg;
+ /*
+ * SOC devices don't support MCU requests.
+ */
+ if (rt2x00_is_soc(rt2x00dev))
+ return;
+
for (i = 0; i < 200; i++) {
rt2800_register_read(rt2x00dev, H2M_MAILBOX_CID, ®);