Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f531c9d4 authored by Bhalchandra Gajare's avatar Bhalchandra Gajare Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm-cpe-lsm: Skip prepare if stream is already prepared



It is possible that userspace may prepare the stream multiple times
without closing the stream. In such cases, preparing the CPE multiple
times can result into an error and eventually leading the userspace to
fail the stream setup. Fix this issue by skipping the stream prepare if
the stream is already prepared once.

Change-Id: Ia5cc3494812497dec46ff84a54711f7b7da6dcab
Signed-off-by: default avatarBhalchandra Gajare <gajare@codeaurora.org>
parent 727853d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment