diff options
| author | Mark Brown <broonie@kernel.org> | 2021-01-11 16:22:26 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-01-11 16:22:26 +0000 |
| commit | 1675cdd3d7e2dc095eb380427baac93492032f47 (patch) | |
| tree | 8ab96b0581b4b2abb747b42a44001846f2ba6b38 /include | |
| parent | f3ddced14b428229282054b6c80b47cee1c747a5 (diff) | |
| parent | 3ac2bfd52b7de6206b1e694a4e79a39d6106c961 (diff) | |
Merge series "ASoC: rt5645: Enable internal mic and headset on ECS EF20" from Chris Chiu <chiu@endlessos.org>:
These patches are trying to fix the jack detection and internal
microphone problems on ECS EF20 series laptops which are empowered
by Intel Atom x5-Z8350 CPU (CherryTrail) with Realtek rt5645 audio
codec.
---
v2 -> v3:
Restore the accidentally removed terminator of the
dmi_platform_data[].
v1 -> v2:
Invoke callback() of the DMI quirk if it exists, because
the dmi_first_match() doesn't.
---
Chris Chiu (4):
ASoC: rt5645: Introduce mapping for ACPI-defined GPIO
ASoC: rt5645: Add ACPI-defined GPIO for ECS EF20 series
ASoC: rt5645: add inv_hp_det flag
ASoC: rt5645: Enable internal microphone and JD on ECS EF20
include/sound/rt5645.h | 2 ++
sound/soc/codecs/rt5645.c | 45 +++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
--
2.20.1
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/rt5645.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h index 39a77c7cea36..710c95be5509 100644 --- a/include/sound/rt5645.h +++ b/include/sound/rt5645.h @@ -22,6 +22,8 @@ struct rt5645_platform_data { bool level_trigger_irq; /* Invert JD1_1 status polarity */ bool inv_jd1_1; + /* Invert HP detect status polarity */ + bool inv_hp_pol; /* Value to asign to snd_soc_card.long_name */ const char *long_name; |
