Message ID | 20220421162328.302017-1-pierre-louis.bossart@linux.intel.com |
---|---|
State | Accepted |
Commit | eb5773201b1c5d603424bd21f161c8c2d1075b42 |
Headers | show |
Series | ASoC: soc-ops: fix error handling | expand |
diff --git a/sound/soc/soc-ops.c b/sound/soc/soc-ops.c index a0ca58ba16273..58347eadd219b 100644 --- a/sound/soc/soc-ops.c +++ b/sound/soc/soc-ops.c @@ -461,7 +461,7 @@ int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol, ret = err; } } - return err; + return ret; } EXPORT_SYMBOL_GPL(snd_soc_put_volsw_sx);