diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-11-18 20:14:43 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-02 14:25:00 -0500 |
commit | 09d8e315d90a70eb1096d68f27be04d6c43724f3 (patch) | |
tree | 3d6f1c61739a9660d3b7e12aa2eb44f353a04f6a /drivers/thermal/db8500_thermal.c | |
parent | 10e2318103f5941aa70c318afe34bc41f1b98529 (diff) | |
download | talos-obmc-linux-09d8e315d90a70eb1096d68f27be04d6c43724f3.tar.gz talos-obmc-linux-09d8e315d90a70eb1096d68f27be04d6c43724f3.zip |
ath9k_hw: fix TSF save/restore around chip reset
A cold reset can be triggered because of DMA stop issues, and this leads
to TSF being cleared on all chipsets. To properly deal with this, always
save the TSF.
Additionally, account for the time it takes to do the actual chip reset,
which can be quite significant. On AR9344 it takes around 4.5 ms.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/thermal/db8500_thermal.c')
0 files changed, 0 insertions, 0 deletions