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

Skip to content
Commit dd9dd802 authored by Aravind Kumar's avatar Aravind Kumar
Browse files

ASoC: msm8x16-wcd: fix no audio in ear during first call



During boot up the gain of ear pa is set to 6 dB by
setting bit 5 of register 0x19E. When the first MO voice
call is done, the ear_s switch is attempted to be activated.
However, since this also attempts to set the same bit
which is already set during boot up, dapm does not power
up this switch. This results in the ear rx path not
being set up.

Change the ear_s switch to a virtual mux so that the
setting up of the ear_s switch does not depend on the
value of the register associated with it.

Change-Id: I3b0a8baafca098e2265bc753b5bb6e044737b538
Signed-off-by: default avatarAravind Kumar <akumark@codeaurora.org>
parent 12b56fe9
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