[PATCH] ASoC: core: Add new SOC_DOUBLE_SX_TLV macro

Charles Keepax ckeepax at opensource.cirrus.com
Fri Mar 11 17:42:10 CET 2022


On Fri, Mar 11, 2022 at 04:39:57PM +0000, Mark Brown wrote:
> On Fri, Mar 11, 2022 at 04:32:58PM +0000, Charles Keepax wrote:
> > Currently macros only exist for SX style (implicit sign bit 2's
> > compliment) volume controls where the volumes for left and right
> > are in separate registers. Some future Cirrus devices will have
> > both volumes in the same register, as such add a new macro to
> > support this.
> 
> Have you tested the bounds checking on _SX controls with mixer-test?

I have tested against some experimental code for a future CODEC,
but this is a good point. Let me run some tests through mixer-test
before we apply.

Thanks,
Charles


More information about the Alsa-devel mailing list