ath10k: cache throttle state when device is down
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Sun, 15 Mar 2015 15:06:24 +0000 (20:36 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 23 Mar 2015 15:16:50 +0000 (17:16 +0200)
commit28bf0c4e3fdd3bfde8b2252f38d1d7ddb70449d6
tree8a027f57c43591cbc11dbe1a77ff5eb3f5336be1
parent091105bc06b1515a53f9f739004b1076f8e38a38
ath10k: cache throttle state when device is down

Allow driver to cache the throttle state when the devie is not
yet started. Configure the cached throttle state while powering
up the device. Since thermal daemon is unaware of the up/down cycle,
it assumes that device is throttled.

Reported-by: Matthias Kaehlcke <mka@google.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/thermal.c
This page took 0.026814 seconds and 5 git commands to generate.