rt2x00: remove MCU requests for SoC platforms
The ralink SoC platforms do not have an MCU. Signed-off-by: Luis Correia <luis.f.correia@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
This commit is contained in:
parent
e3efca0a63
commit
f18d4463d0
|
@ -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, ®);
|
||||
|
||||
|
|
Loading…
Reference in New Issue