]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt1308-sdw: use slot and rx_mask to configure stream
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 25 Mar 2020 21:29:05 +0000 (16:29 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2020 18:48:09 +0000 (18:48 +0000)
commit7d6ec0ce7a11ff7ce25d4e1a8b23903f92489fde
tree3bbf8659c1236ad9a357d4ace9bceeaa34237fc0
parent5b9dabad8bc77a033e5c3e757f1259efd72987fb
ASoC: rt1308-sdw: use slot and rx_mask to configure stream

If the DAI was configured with a set_tdm_slots() call, use the information.

A platform or machine driver may configure each amplifier to extract
different bitSlots from the frame, or extract the same data and use
processing to generate the relevant output. The latter case is easier
to handle in case of orientation changes.

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