From: Kuninori Morimoto Date: Wed, 5 Feb 2025 00:16:14 +0000 (+0000) Subject: ASoC: soc-utils: care -EOPNOTSUPP on snd_soc_ret() X-Git-Tag: v6.15-rc1~173^2~4^2~133^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=062b7ef6b103dcbcb3c084e8ace8e74e260b2346;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://patch.msgid.link/87ed0d2qlt.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index e8958158acc11..318b141c00b38 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);