ASoC: DSP: Connect FE->BE links if FE is active
Connect FE->BE links only if the corresponding FE is active,
otherwise BEs associated to inactive FEs can startup with
invalid runtime data.
For example, FE-1 -> BE-1 playback link is running, in the
meantime FE-2 -> BE-2 capture link gets enabled through
muxs/mixers but no capture stream is actually opened,
BE-2 could be incorrectly started if FE-2 -> BE-2 link
is connected even though BE type is not even for the same
stream direction as active stream.
Change-Id: I3534914535d6ea2a39bdb26b0646b199b1e2742d
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
1 file changed