ASoC: rt1308-sdw: add set_tdm_slot() support
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 25 Mar 2020 21:29:04 +0000 (16:29 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2020 18:48:08 +0000 (18:48 +0000)
commitf7cc9b996e7417708b8168697762e4bc97fa6696
tree6f73e1b058ef740d2dc670598ba63bd7478f96f4
parent633fddee7355e46a5b5ec471abb58d65e1e41012
ASoC: rt1308-sdw: add set_tdm_slot() support

Add ability to select which of the channels is used, or both, in case
two RT1308 amplifiers are located on the same link.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200325212905.28145-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1308-sdw.c
sound/soc/codecs/rt1308-sdw.h