6644fa9104
Currently, whenever performing TRIGGER_PAUSE operation, the data line is not disabled. This works well if TX and RX don't operate at the same time or they operate in ASYNC-ASYNC mode. This is because sai_tx_rx_disable() will disable transmitter/receiver all the time since there's no dependencies to take into consideration. However, in the ASYNC-SYNC mode, sai_tx_rx_disable() may not disable the current asynchronous side if the synchronous side is still enabled. As a consequence, the asynchronous side will remain enabled, thus leading to an underrun/overrun. To fix this issue, sai_trigger_pause() should disable the data line each time it's called. This way, even if sai_tx_rx_disable() doesn't disable the current direction, the data line will be disabled, thus stopping the consumption/production of frames. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> |
||
---|---|---|
.. | ||
intel | ||
nxp/sai | ||
CMakeLists.txt | ||
Kconfig |