]> 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)
commit698c242323cebeda23ce70a1c6f0c1345156633d
tree91890ddb5738ef203a2df738660f2b305f466421
parent561475be6949fdcdf5a494c45aacd0fe494838e6
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