Skip to content

Commit

Permalink
rt2800: add disabling of DMA before loading firmware
Browse files Browse the repository at this point in the history
Legacy driver disables DMA before loading firmware.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Jakub Kicinski authored and John W. Linville committed Apr 13, 2012
1 parent f7b395e commit b7e1d22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/rt2x00/rt2800lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit b7e1d22

Please sign in to comment.