Skip to content

Commit

Permalink
ath5k: add missing iounmap to AHB probe removal
Browse files Browse the repository at this point in the history
When our driver device is removed on the AHB bus, our IO memory is never unmapped.

Signed-off-by: Jonathan Bither <[email protected]>
Reviewed-by: Pavel Roskin <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
JB1tz authored and linvjw committed Apr 27, 2012
1 parent b948a85 commit 3708dc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/ath/ath5k/ahb.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ static int ath_ahb_remove(struct platform_device *pdev)
}

ath5k_deinit_ah(ah);
iounmap(ah->iobase);
platform_set_drvdata(pdev, NULL);
ieee80211_free_hw(hw);

Expand Down

0 comments on commit 3708dc2

Please sign in to comment.