]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a53daf27d89601da0de9ba00fd87f1882a36214
tree8a027f57c43591cbc11dbe1a77ff5eb3f5336be1
parent0ebf1c2a11dbd562d5dc0af01bf4c4d5ecd9cedc
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