summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2025-02-05 00:16:14 +0000
committerMark Brown <broonie@kernel.org>2025-02-06 17:26:19 +0000
commit062b7ef6b103dcbcb3c084e8ace8e74e260b2346 (patch)
tree9b24839d18e9252c210081c536d8a1f9d7127e3a
parent943116ba2a6ab472e8ad2d1e57a3f10f13485cc2 (diff)
ASoC: soc-utils: care -EOPNOTSUPP on snd_soc_ret()
We get below warning by checkpatch on soc-utils. Adds EOPNOTSUPP, but not remove existing ENOTSUPP. WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87ed0d2qlt.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/soc-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index e8958158acc1..318b141c00b3 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -28,6 +28,7 @@ int snd_soc_ret(const struct device *dev, int ret, const char *fmt, ...)
switch (ret) {
case -EPROBE_DEFER:
case -ENOTSUPP:
+ case -EOPNOTSUPP:
break;
default:
va_start(args, fmt);