[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220504161236.2490532-1-sbinding@opensource.cirrus.com>
Date: Wed, 4 May 2022 17:12:33 +0100
From: Stefan Binding <sbinding@...nsource.cirrus.com>
To: Mark Brown <broonie@...nel.org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>
CC: <alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
<patches@...nsource.cirrus.com>,
Stefan Binding <sbinding@...nsource.cirrus.com>
Subject: [PATCH v1 0/3] Add Manual Mode Jack Detection for CS42L42 in HDA
CS42L42 supports automatic type detection, to determine headset type,
or headphones. However, automatic type detection does not always work
correctly. To improve detection accuracy, manual mode detection can be
run. This is already done in the ASoC version of the CS42L42 driver,
and this chain adds the same support into the HDA version.
In addition, to better align the ASoC and HDA drivers, the ASoC header
file has been moved into the general sound includes, which allows both
ASoC and HDA to have access to the header.
This improves the maintainability of the HDA driver, and makes it
easier to port fixes/features from CS42L42 ASoC to HDA.
Stefan Binding (3):
ASoC: cs42l42: Move CS42L42 register descriptions to general include
ALSA: hda/cs8409: Use general cs42l42 include in cs8409 hda driver
ALSA: hda/cs8409: Support manual mode detection for CS42L42
include/sound/cs42l42.h | 810 +++++++++++++++++++++++++++
sound/pci/hda/patch_cs8409-tables.c | 327 ++++++-----
sound/pci/hda/patch_cs8409.c | 275 ++++++---
sound/pci/hda/patch_cs8409.h | 9 +-
sound/soc/codecs/cs42l42.h | 826 +---------------------------
5 files changed, 1167 insertions(+), 1080 deletions(-)
create mode 100644 include/sound/cs42l42.h
--
2.25.1
Powered by blists - more mailing lists