Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3708dc24 authored by Jonathan Bither's avatar Jonathan Bither Committed by John W. Linville
Browse files

ath5k: add missing iounmap to AHB probe removal



When our driver device is removed on the AHB bus, our IO memory is never unmapped.

Signed-off-by: default avatarJonathan Bither <jonbither@gmail.com>
Reviewed-by: default avatarPavel Roskin <proski@gnu.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b948a85c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);