linux/sound/soc/mediatek/mt2701
Rosen Penev 6c52e58dbd
ASoC: mediatek: mt2701: fix snprintf bounds
For whatever reason, GCC is unable to figure out that i2s_num is a
single digit number, with MT2701_BASE_CLK_NUM being the maximum value it
represents. Add a min() call to help it out and fix W=1 errors regarding
snprintf bounds.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260522014515.719973-1-rosenp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-06-01 14:59:59 +01:00
..
Makefile ASoC: mediatek: mt2701: add machine driver for on-chip HDMI codec 2026-05-05 10:52:07 +09:00
mt2701-afe-clock-ctrl.c ASoC: mediatek: mt2701: fix snprintf bounds 2026-06-01 14:59:59 +01:00
mt2701-afe-clock-ctrl.h ASoC: mediatek: mt2701: align function prototype 2021-03-12 14:29:52 +00:00
mt2701-afe-common.h ASoC: mediatek: mt2701: allocate i2s_path with priv 2026-05-27 11:13:27 +01:00
mt2701-afe-pcm.c ASoC: mediatek: mt2701: allocate i2s_path with priv 2026-05-27 11:13:27 +01:00
mt2701-cs42448.c ASoC: mediatek: mt2701-cs42448: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-03-03 12:59:19 +00:00
mt2701-hdmi.c ASoC: mediatek: mt2701: add machine driver for on-chip HDMI codec 2026-05-05 10:52:07 +09:00
mt2701-reg.h ASoC: mediatek: mt2701: add AFE HDMI register definitions 2026-05-05 10:52:04 +09:00
mt2701-wm8960.c ASoC: mediatek: mt2701-wm8960: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-03-03 12:59:18 +00:00