Commit 9d7b8007 authored by Santosh Mardi's avatar Santosh Mardi Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: add work queue to make sure MCLK is on.



In 8916 target to access digital codec registers there
is a requirement to make sure the MCLK is enabled otherwise
apps will end up in un authorized access and crash.

To achieve this a work queue is added and scheduled before
any read or write access is attempted and this work queue
will make sure the MCLK is enabled for 3 seconds and gets
deleted when the session is active.

Also the MCLK enable event is triggered now from session start
and stop.

CRs-Fixed: 638024
Change-Id: If1b608d5728dc35d7f16635fe5996fa08e693185
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent 544caef5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment