diff options
| author | Shengjiu Wang <[email protected]> | 2020-09-01 19:01:08 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-09-03 14:47:36 +0100 |
| commit | 770f58d7d2c58b8ff31d3694ce14a785c2e75009 (patch) | |
| tree | 453f8c1bf89a100c4613650b06828bb8164d8a03 /lib/mpi/mpi-mod.c | |
| parent | a57307ca6b661e16f9435a25f376ac277c3de697 (diff) | |
ASoC: fsl_sai: Support multiple data channel enable bits
One data channel is one data line. From imx7ulp, the SAI IP is
enhanced to support multiple data channels.
If there is only two channels input and slots is 2, then enable one
data channel is enough for data transfer. So enable the TCE/RCE and
transmit/receive mask register according to the input channels and
slots configuration.
Move the data channel enablement from startup() to hw_params().
Signed-off-by: Shengjiu Wang <[email protected]>
Acked-by: Nicolin Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions