ASoC: pcm: update the start-up sequence for playback
Codec should be started before the CPU to ensure that there is no data loss during playback.Current sequence enables the CPU first followed by codec.This change updates the sequence prevent any playback data loss. Also, squash the below change to fix possible NULL pointer dereference issue ASoC: pcm: Check for capture path in all codec_dais During soc_pcm_prepare, check for capture path for all the codec_dais instead of the last codec_dai. This is will help to set pcm start event for all the codec dais that has capture_active set to high. Change checks for all the codec_dais capture_active bit to set start stream event. Change-Id: I3f1b457ecd169f6ecc42e15f2151ede9cdbd580d Signed-off-by:Gopikrishnaiah Anandan <agopik@codeaurora.org> Signed-off-by:
Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by:
Sudheer Papothi <spapothi@codeaurora.org> Signed-off-by:
Meng Wang <mwang@codeaurora.org>
Loading
Please register or sign in to comment