11 Mar
2022
11 Mar
'22
5:42 p.m.
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