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>
This commit is contained in:
Kuninori Morimoto
2025-02-05 00:16:14 +00:00
committed by Mark Brown
parent 943116ba2a
commit 062b7ef6b1

View File

@@ -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);