diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2020-04-07 15:33:31 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-04-14 18:07:00 +0300 |
commit | 6343a6d4b2130be9323f347d60af8a7ba8f7242c (patch) | |
tree | 8781088bcd50e297dd3d0d4784b75a94830378a1 /drivers/mfd | |
parent | 63e49a9fdac1b4e97ac26cb3fe953f210d83bc53 (diff) |
rtw88: Add delay on polling h2c command status bit
On some systems we can constanly see rtw88 complains:
[39584.721375] rtw_pci 0000:03:00.0: failed to send h2c command
Increase interval of each check to wait the status bit really changed.
Use read_poll_timeout() macro which fits anything we need here.
Suggested-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200407073331.397-1-kai.heng.feng@canonical.com
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions