Keep compander on when headphones power off, but
disconnect comp port. it can fix the pop issue
when device switch to speaker,
and it won't cause any issue.
Change-Id: I6c166fb59609bc26044329300441978b81f61784
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
when MBQ & C/N bit enabled, vol and mute register will
become a new register, which cannot be updated, so add the
new registers in regmap.
Change-Id: I9b13889c6b5281a529b0feacfb7669575d5028e0
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Check if clk is enabled before disabling it to avoid
warning log during adsp SSR.
Change-Id: I916af6f9efacfe3d08e0b05dcc0c6023944369d2
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
The init func of rxtx-rx1 virt dailink should
be same with rxtx-rx1 dailink.
Change-Id: I62008bfb742d6c6b818b1b4dbce6d521229d0369
Signed-off-by: Faiz Kuchay <quic_fkuchay@quicinc.com>
Due to GKI limitation, cannot enable boot markers for kernel.6.1.
Need to add logs for KPI test.
Change-Id: Iba832fcc961fb284430ac8597a916c81077d1cff
Signed-off-by: Deru Wang <quic_deruwang@quicinc.com>
While doing B2B reboots sometime wcd slaves are not getting enumerated,
so adding delay for reset of gpios helping to resolve enumeration
failures for slaves.
Change-Id: Icc9eadb1002ee817d10afc0abce240b044b7c065
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
As of now swr slave path disable only
when no usecase running, that is incorrect.
When stop the usecase itself disable the swr slave path and
set the clk for inactive bank.
Change-Id: I35bc693dc65028ba8ad04f59d47a1101c7bb470c
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Curr_micbias2 val should be same with mb->micba2_mv.
for some customers, their micbias is not 1800mv,
so we should set the curr_micbias as mb->micb2_mv which
was the actual micbias val the customer use.
remove the dev_up check from micbias, since with this check,
Headset may be detected as a incorrect type.
Change-Id: Ia5a1fd434a09617a57096531c69956479c69f079
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
UDP virtual port is missing on pitti, make this
change for it. Sine the name length of kcontrl is beyond
the limition(44), so change the name from ’VIRT‘
to 'VT'.
Change-Id: I999bdf38228f00cc7ccecca1edcf83b1a7520819
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
cls-h port enablement is not required for aux path, So removed
the cls-h route.
Change-Id: If0d498ff042b59df920fe51ca99715da543876b8
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
if there is any tx usecase running, reset tx swr
clk will make all the tx sequencer power off,
so check sys_usage_status first before reset
tx_swr clk
dont need set swr clk for inactive bank.
Change-Id: I21362885c84e6ce4afbbfd18a48191f53f8ccc6b
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
update the gnd mic swap for hsj connection in machine driver.
Change-Id: I673a46bf4491140774c45fd4eacd12c0ee4b6bac
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Enable Low Power Mode for the power supplies while
going to suspend mode on wsa883x and wcd9378.
Change-Id: I133c1b791bcd8b53cf79650d7347d5889da29491
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
fix to avoid null pointer dereference by checking
for the structure to be non-null, in below functions
wcd9378_mbhc_post_ssr_init of wcd9378-mbhc and
interpolate_zdet_val, usbcss_sysfs_store of wcd939x-mbhc.
Change-Id: I37979f969786c5490e1964913ad61123a4e09006
Signed-off-by: Srinivas Marka <quic_smarka@quicinc.com>
when we enable compander for headphones, the quality
of hph playback is bad, since we have not disconnect
the right port, correct it.
Change-Id: I63ab0734870027109a7f032c47f8865083374a5b
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
when amic4 recording start, sys_usage_bit get failed,
since the mask of read val is incorrect.
Change-Id: I4c6bdaf6cafdd133e272bcacfd2faea5f176f9ab
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Optimize the init sequence for tambora, enable TXSCBIAS_CLK
and set IBIAS_LDO_DRIVER as 5ua.
Change-Id: I639b7051d03d167972f592b155072260d4e02aec
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Update the hph/ear/aux playback sequence, disable the reg
which should be disable.
Change-Id: Ib1353e686a49222f5084722cced7687815f76ab2
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Tear down the correct REQ_PS when widget power down,
that can fix the amic3 mute after ssr issue.
Change-Id: I7b5c958e79eb23184bd11375bae11dbcd51e961a
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>