Fix MBHC wired headphone autodetection across all targets for a1125 (ampere)
Retain PM8909 MBHC digital debounce clock (DIG_CLK_CTL_D_MBHC_CLK_EN) and master bias (CDC_A_MASTER_BIAS_CTL = 0x30) across s2 standby gating while keeping the 100 uA button ISRC and button IRQs disabled when unplugged, check CDC_A_MBHC_RESULT_2 on boot/set_jack/switch IRQs with 3/4-pole FSM classification, fix iface=CARD jack queries, event coalescing, and stale unplugged Headphones boot fallback in bananarchy-soundmonitor and sxmo audio scripts, harden host tests against CPU contention, and rebuild all a1125 (ampere) target images.
This commit is contained in:
1 parent
aba38a58f2
commit
9619cc9541
19 files changed
+516
-93
No files matched your search
@@ -112,7 +112,8 @@ EOF
|
||||
echo "[2m/5] Applying system-core keypad debouncer patch..."
|
||||
patch -p1 < /bananarchy/patches/kernel/0014-input-core-keypad-debouncer.patch
|
||||
fi
|
||||
if ! grep -q "msm8916_wcd_digital_force_sync_ctl" sound/soc/codecs/msm8916-wcd-digital.c 2>/dev/null; then
|
||||
if ! grep -q "msm8916_wcd_digital_force_sync_ctl" sound/soc/codecs/msm8916-wcd-digital.c 2>/dev/null || \
|
||||
! grep -q "CDC_A_MBHC_RESULT_2_SWCH_LEVEL_REMOVE" sound/soc/codecs/msm8916-wcd-analog.c 2>/dev/null; then
|
||||
echo "[2n/5] Applying WCD digital 48 kHz interpolator and CAJON analog codec patch..."
|
||||
patch -p1 < /bananarchy/patches/kernel/0015-msm8909-wcd-digital-interpolator-cajon-analog.patch
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user