ASoC: rt1011: set tx/rx slots from tx/rx_mask in TDM case
authorShuming Fan <shumingf@realtek.com>
Wed, 16 Oct 2019 08:57:54 +0000 (16:57 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Oct 2019 12:55:43 +0000 (13:55 +0100)
commit81bd644f69858c233245588f18b88bdcd62efd1e
treeebf233aea617a1fe1b7100508acc2883bb18b7b3
parenta35716a95655d8fc15042c9d574374eceb9daf3d
ASoC: rt1011: set tx/rx slots from tx/rx_mask in TDM case

The TX/RX slot configuration use tx/rx_mask which requested
by the machine driver.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20191016085754.11614-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1011.c
sound/soc/codecs/rt1011.h