]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: pcm3168a: Add support for multi DIN/DOUT with TDM slots parameter
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 20 Jun 2019 09:26:56 +0000 (12:26 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 20 Jun 2019 12:00:19 +0000 (13:00 +0100)
commit9700022109b6c495fb571f77324d34b294b29145
treec87df2447cd647fc2b1b48812898743b5dcc998a
parentb5d8dffb8cc9792c3bb4310e142932c8bc5c0387
ASoC: pcm3168a: Add support for multi DIN/DOUT with TDM slots parameter

The driver was wired to be only usable in DIN1/DOUT1 mode, switching
between TDM and non TDM modes based on the number of channels.

While keeping this functionality for compatibility add support for using
all DIN1/2/3/4 and DOUT1/2/3 if it is needed by setting the TDM slots to
2.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c