Commit b7e1d225 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by John W. Linville

rt2800: add disabling of DMA before loading firmware

Legacy driver disables DMA before loading firmware.
Signed-off-by: default avatarJakub Kicinski <kubakici@wp.pl>
Reviewed-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f7b395e9
...@@ -426,6 +426,8 @@ int rt2800_load_firmware(struct rt2x00_dev *rt2x00dev, ...@@ -426,6 +426,8 @@ int rt2800_load_firmware(struct rt2x00_dev *rt2x00dev,
rt2800_register_write(rt2x00dev, PWR_PIN_CFG, 0x00000002); rt2800_register_write(rt2x00dev, PWR_PIN_CFG, 0x00000002);
} }
rt2800_disable_wpdma(rt2x00dev);
/* /*
* Write firmware to the device. * Write firmware to the device.
*/ */
......
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