diff options
author | Sascha Hauer <[email protected]> | 2022-12-02 09:12:16 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-12-08 16:48:40 +0200 |
commit | d57ca103e54e2b3eea7e2603548c58bcc4155541 (patch) | |
tree | b1e8be496515e563f1cc89338d8918722a8a2d92 /lib/mpi/mpi-sub-ui.c | |
parent | 69020957bcb783184af1a86c8483139557cec751 (diff) |
wifi: rtw88: Drop rf_lock
The rtwdev->rf_lock spinlock protects the rf register accesses in
rtw_read_rf() and rtw_write_rf(). Most callers of these functions hold
rtwdev->mutex already with the exception of the callsites in the debugfs
code. The debugfs code doesn't justify an extra lock, so acquire the mutex
there as well before calling rf register accessors and drop the now
unnecessary spinlock.
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions