]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: debugfs: use wiphy_locked_debugfs_{read,write}() if needed
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 22 Jan 2025 06:03:05 +0000 (14:03 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 3 Feb 2025 02:26:11 +0000 (10:26 +0800)
commit8fdf78f3cd5f87eced0c4f7eed7160a2ec31a008
tree78ef05115150bbee540ba3c827e9f114d579bdce
parent01fd45d9e102bd9bc9d234aa8f409fa8b94e3919
wifi: rtw89: debugfs: use wiphy_locked_debugfs_{read,write}() if needed

If a debugfs entry takes driver mutex now, let it uses
wiphy_locked_debugfs_{read,write}() to take both driver mutex and
wiphy lock. Add rwlock option to support this.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250122060310.31976-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/debug.c