Files
linux-nv-oot/sound
Viswanath L f48397b648 ASoC: tegra-alt: warning print at disable timeout
ADMAIF may hit timeout in closing sequence, if some bits remain
unconsumed in FIFO, which may happen if the sink gets closed/blocked
ahead of source. As such the status register of ADMAIF remaining
uncleared is not a catastrophic error and the channel will be
available after reset, hence timeout merits a warning print.

Above issue gets hit in two test scripts:
 - tegra-audio-amx-to-adx.sh, where closing aplay at any one input
    port of AMX causes the module to block other substreams. This
    is a HW bug, fixed in T194 upwards.
 - tegra-audio-admaif-testsuite.sh, where running aplay and arecord
    without any flow control does not ensure that aplay always drains
    its bits.

The warning print here, in playback path, is whitelisted for GVS runs.

Bug 200569324

Change-Id: I12984d08c6f43f41f3b85bb066d42b6883249060
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2258180
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-09-29 15:30:21 +05:30
..