From: Rajkumar Manoharan Date: Thu, 9 Aug 2012 07:07:26 +0000 (+0530) Subject: ath9k: stop btcoex on device suspend X-Git-Tag: upstream/snapshot3+hdmi~6711^2~22^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e19f15ac6437624b6214b2f0ec0d69fb7eb205fa;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ath9k: stop btcoex on device suspend During suspend, the device will be moved to FULLSLEEP state. As btcoex is never been stopped, the btcoex timer is running and tries to access hw on fullsleep state. Fix that. Cc: stable@vger.kernel.org Signed-off-by: Rajkumar Manoharan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c index d455de9..a978984 100644 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c @@ -321,6 +321,7 @@ static int ath_pci_suspend(struct device *device) * Otherwise the chip never moved to full sleep, * when no interface is up. */ + ath9k_stop_btcoex(sc); ath9k_hw_disable(sc->sc_ah); ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP);