mirror of
https://github.com/armbian/build.git
synced 2025-08-11 05:36:57 +02:00
* sunxi-6.0: initial state: add megous patches to series * sunxi-6.0: Switch to v6.0.1 * wifi: Limit the version 6.0 for Realtek 88x2cs chipsets * Adjust kernel configs * Remove not needed patches * Adjust broken patches Co-authored-by: Igor <igor@armbian.com>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 1f72e42810cb046e617a75c24b06b1b647979edc Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megi@xff.cz>
|
|
Date: Sat, 20 Aug 2022 20:32:07 +0200
|
|
Subject: [PATCH 357/486] ASoC: codecs: rt5640: Fix hpout restore when lout is
|
|
enabled
|
|
|
|
When line out and heaphones are enabled, rt5640_lout_event will cause
|
|
headpone state restore to fail, by calling hp_amp_power_on again after
|
|
rt5640_pmu_depop.
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
sound/soc/codecs/rt5640.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
|
|
index 03b9bc47c..7a95fe181 100644
|
|
--- a/sound/soc/codecs/rt5640.c
|
|
+++ b/sound/soc/codecs/rt5640.c
|
|
@@ -997,7 +997,8 @@ static int rt5640_lout_event(struct snd_soc_dapm_widget *w,
|
|
|
|
switch (event) {
|
|
case SND_SOC_DAPM_POST_PMU:
|
|
- hp_amp_power_on(component);
|
|
+ //hp_amp_power_on(component);
|
|
+ //XXX: ^^ breaks hpout restore
|
|
snd_soc_component_update_bits(component, RT5640_PWR_ANLG1,
|
|
RT5640_PWR_LM, RT5640_PWR_LM);
|
|
snd_soc_component_update_bits(component, RT5640_OUTPUT,
|
|
--
|
|
2.35.3
|
|
|