OSDN Git Service

ASoC: ti: davinci-mcasp: Fix slot mask settings when using multiple AXRs
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 20 Jun 2019 09:20:02 +0000 (12:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:56 +0000 (14:50 +0100)
commit63f47d2b2d5b703d4e4bfdd1a79b92d86a89c4c2
tree8066ad98144319ebdc7c082975f73507c778dd0f
parentb977cc31dab1fefbd50f933b7a2815ece3b9c426
ASoC: ti: davinci-mcasp: Fix slot mask settings when using multiple AXRs

[ Upstream commit fd14f4436fd47d5418023c90e933e66d3645552e ]

If multiple serializers are connected in the system and the number of
channels will need to use more than one serializer the mask to enable the
serializers were left to 0 if tdm_mask is provided

Fixes: dd55ff8346a97 ("ASoC: davinci-mcasp: Add set_tdm_slots() support")

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/davinci/davinci-mcasp.c