wifi: rtw89: debugfs: specify buffer size allocated by devm_kazlloc() for reading

Some debufs entries need output buffer over default size 4K. Since reading
of many debugfs entries is to access IO, it costs time to dynamically
re-allocate larger buffer and access IO again and again. Add an option to
specify the size it needs.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250122060310.31976-5-pkshih@realtek.com
This commit is contained in:
Ping-Ke Shih 2025-01-22 14:03:04 +08:00
commit 01fd45d9e1