]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Add new SOC_DOUBLE_SX_TLV macro
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 21 Jun 2022 10:20:41 +0000 (11:20 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 21 Jun 2022 12:15:35 +0000 (13:15 +0100)
commit49389570b58abb9391b58d80240e2d89e56c687c
tree91890ddb5738ef203a2df738660f2b305f466421
parent29630bb8defc496774de120fc7385e988c44347b
ASoC: core: Add new SOC_DOUBLE_SX_TLV macro

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.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220621102041.1713504-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h