diff options
author | Maya Erez <merez@codeaurora.org> | 2019-02-22 16:21:04 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-28 11:24:59 +0200 |
commit | 979c9d8d01c482b1befb44dc639ecb907b5a37bd (patch) | |
tree | f178f48c23d8bec9a167259c96624fe8bff3b14e /drivers/hwmon/lm75.h | |
parent | a380eb5736c04942c158b22af04467eb21c27045 (diff) | |
download | linux-979c9d8d01c482b1befb44dc639ecb907b5a37bd.tar.bz2 |
wil6210: ignore HALP ICR if already handled
HALP ICR is set as long as the FW should stay awake.
To prevent its multiple handling the driver masks this IRQ bit.
However, if there is a different MISC ICR before the driver clears
this bit, there is a risk of race condition between HALP mask and
unmask. This race leads to HALP timeout, in case it is mistakenly
masked.
Add an atomic flag to indicate if HALP ICR should be handled.
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/hwmon/lm75.h')
0 files changed, 0 insertions, 0 deletions