[PATCH 1/2] ASoC: ops: fix signedness bug in snd_soc_put_volsw()

Mark Brown broonie at kernel.org
Fri Jan 28 13:42:04 CET 2022


On Fri, Jan 28, 2022 at 02:20:07PM +0300, Dan Carpenter wrote:
> The "val" and "val2" variables need to signed for the checking to work
> as intended.

This means that the helpers won't support controls that use the top bit
of a 32 bit register.
-------------- 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/20220128/ac85b3c1/attachment.sig>


More information about the Alsa-devel mailing list