[PATCH v1 2/4] ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_sx()
Mark Brown
broonie at kernel.org
Tue Apr 19 12:57:26 CEST 2022
On Mon, Apr 18, 2022 at 04:33:21PM -0500, Pierre-Louis Bossart wrote:
> > + if (ret == 0 || err < 0) {
> > + ret = err;
> > + }
> > }
> > return err;
> cppcheck flags a warning on this patch, I believe we should use "return ret;" here, as done in the other patches of this series?
Yes, I think so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220419/cbd67974/attachment.sig>
More information about the Alsa-devel
mailing list