Re: [PATCH linux-next] ASoC: use sysfs_emit() instead of scnprintf().

2025-03-16 Thread Jiri Slaby
On 15. 03. 25, 7:15, xie.lu...@zte.com.cn wrote: From: XieLudan Follow the advice in Documentation/filesystems/sysfs.rst: show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: XieLudan ---  sound/soc/fsl/imx-audmux

[PATCH linux-next] ASoC: use sysfs_emit() instead of scnprintf().

2025-03-15 Thread xie.ludan
From: XieLudan Follow the advice in Documentation/filesystems/sysfs.rst: show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. Signed-off-by: XieLudan --- sound/soc/fsl/imx-audmux.c | 26 +++--- 1 file changed, 11 ins