diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2022-09-23 02:59:49 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-23 15:56:08 +0300 |
commit | 8e986748680629a82398c65da0c5bda4c6a01b3d (patch) | |
tree | f7521d0a6434c4f48964468e1120179c4bf12cd5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 13bee4a16ac5c5f0e3a5db868df991be57e74aa5 (diff) | |
download | linux-8e986748680629a82398c65da0c5bda4c6a01b3d.tar.xz |
ASoC: mediatek: mt8186-da7219: Expose individual headset jack pins
The da7219 codec is able to distinguish between two event types:
headphone insertion/removal and headset microphone insertion/removal.
However, currently, the mt8186-da7219 driver exposes a single kcontrol
for the headset jack, so userspace isn't able to differentiate between
the two events.
Add a definition for the headset jack pins, so that a separate jack
kcontrol is created for each one, allowing userspace to track and handle
them individually.
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220922235951.252532-5-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions