提交 f18d4463 编写于 作者: L Luis Correia 提交者: Gertjan van Wingerde

rt2x00: remove MCU requests for SoC platforms

The ralink SoC platforms do not have an MCU.
Signed-off-by: NLuis Correia <luis.f.correia@gmail.com>
Acked-by: NIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: NGertjan van Wingerde <gwingerde@gmail.com>
上级 e3efca0a
......@@ -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, &reg);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册