Commit 7680efa7 authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati Committed by Aravind Kumar
Browse files

ASoC: wcd9330: Avoid codec read/writes if device is down



When SLIMbus is down, read and write codec registers over
SLIMbus cannot be performed. Set codec device down whenever
SLIMbus device down notification is received so that read and
writes can be avoided safely. Later when SLIMbus device up
notification is received, codec device down state will be
cleared and read/writes can be sent as usual.

Change-Id: Ida13003e8123cf2a6b992db6acdff764c32cea51
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 456a1f44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment