Commit f18d4463 authored by Luis Correia's avatar Luis Correia Committed by Gertjan van Wingerde

rt2x00: remove MCU requests for SoC platforms

The ralink SoC platforms do not have an MCU.
Signed-off-by: default avatarLuis Correia <luis.f.correia@gmail.com>
Acked-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
parent e3efca0a
...@@ -60,6 +60,12 @@ static void rt2800pci_mcu_status(struct rt2x00_dev *rt2x00dev, const u8 token) ...@@ -60,6 +60,12 @@ static void rt2800pci_mcu_status(struct rt2x00_dev *rt2x00dev, const u8 token)
unsigned int i; unsigned int i;
u32 reg; u32 reg;
/*
* SOC devices don't support MCU requests.
*/
if (rt2x00_is_soc(rt2x00dev))
return;
for (i = 0; i < 200; i++) { for (i = 0; i < 200; i++) {
rt2800_register_read(rt2x00dev, H2M_MAILBOX_CID, &reg); rt2800_register_read(rt2x00dev, H2M_MAILBOX_CID, &reg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment