]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: rt5665: enable TDM if more than 2 channels
authorBard Liao <bardliao@realtek.com>
Wed, 8 Mar 2017 11:05:36 +0000 (19:05 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 8 Mar 2017 12:47:53 +0000 (13:47 +0100)
commit948059ddf93f4dfbb1f2f00885d2172b835a03b1
tree97e1cc96c4855764ebe7bdf3157e47e5df9f6905
parent246126b0a4f24f8e88f148c9d0d6d72e6fafe6cc
ASoC: rt5665: enable TDM if more than 2 channels

TDM is necessary for more than 2 channels. And there is no control bit
to specify which slots are using. Machine driver will not need to call
snd_soc_dai_set_tdm_slot if we do it in rt5665_hw_params.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5665.c