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)
commit6b183919f7051294dc5fc331bb608d5d7f29f5da
tree91890ddb5738ef203a2df738660f2b305f466421
parent289a3ec0b5b9a2de6fc75633aa81f017792ecc99
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