提交 b7e1d225 编写于 作者: J Jakub Kicinski 提交者: John W. Linville

rt2800: add disabling of DMA before loading firmware

Legacy driver disables DMA before loading firmware.
Signed-off-by: NJakub Kicinski <kubakici@wp.pl>
Reviewed-by: NStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: NGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 f7b395e9
......@@ -426,6 +426,8 @@ int rt2800_load_firmware(struct rt2x00_dev *rt2x00dev,
rt2800_register_write(rt2x00dev, PWR_PIN_CFG, 0x00000002);
}
rt2800_disable_wpdma(rt2x00dev);
/*
* Write firmware to the device.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册