]> 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)
commit237430f65de0c4389fe1820ad7c79c35e1cfa471
tree3bbf8659c1236ad9a357d4ace9bceeaa34237fc0
parent436712ff58c490b8c95db0f357b9badd329552cd
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