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

From: Mark Brown
Date: Fri Jan 28 2022 - 07:42:18 EST


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.

Attachment: signature.asc
Description: PGP signature