mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
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:
parent
943116ba2a
commit
062b7ef6b1
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user