ASoC: wcd9304: Enhance OCP reporting logic
CODEC has over current protection(OCP) finite state
machine for both left and right headphone while CODEC
driver tries to delay reporting of OCP event after
CODEC reporting OCP two times. Current CODEC driver
implementation results in unlocking one of headphone
power amplifier when OCP reported on both headphone.
Change the behavior to report OCP event for a give
headphone immediately if OCP already occurs on opposite
headphone.
Change-Id: I49d062f7c7f1a99390e82660c8f3e538a0a3cd56
Signed-off-by:
Patrick Lai <plai@codeaurora.org>
Loading
Please register or sign in to comment