ASoC: msm: not call afe_close in prepare

The original purpose of calling afe_close() is to
recover from audio hardware error such as SLIMBUS
overflow/underflow case. However, soc-dsp framework
currently calls prepare function of backend dai link
as part of start process of newly opened FE PCM device.
So, prepare of backend is called unnecessarily in
multiple frontend to single backend case. This behavior
not only can manifest undesirable audio artifact but also
cause instability due to quick stop and start of Q6 AFE
port. As SLIMBUS overflow/underflow issue encountered
so far is mostly due to mishandling of hardware bring-up
sequence, having afe_close() called in prepare does more harm
than good. The decision is not to call afe close in prepare
until soc-dsp framework is being enhanced in handling prepare of
backend.

Signed-off-by: Patrick Lai <plai@codeaurora.org>
1 file changed