diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2022-09-22 19:59:51 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-23 13:56:10 +0100 |
commit | 42de42c22453064ffc9b72c259b2ab901dd766dc (patch) | |
tree | c1e4919fb55cb5e4a80cbfef6cf03a5db5c6c184 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d888e7afa03f06d8091ecdd43f87d5396dfbf907 (diff) |
ASoC: mediatek: mt8186-rt5682: Expose individual headset jack pins
The rt5682 codec is able to distinguish between two event types:
headphone insertion/removal and headset microphone insertion/removal.
However, currently, the mt8186-rt5682 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-7-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions