diff options
| author | 2022-09-22 19:59:47 -0400 | |
|---|---|---|
| committer | 2022-09-23 13:56:05 +0100 | |
| commit | aa51e3c127a43cf4862db5f0081da281f1aa6429 (patch) | |
| tree | 606af17a4afbc3bd8bff85a5c7866884d562e69e /include/rdma/git:/ssh:/git@git.zx2c4.com | |
| parent | ASoC: mediatek: mt8192-mt6359: Expose individual headset jack pins (diff) | |
| download | linux-dev-aa51e3c127a43cf4862db5f0081da281f1aa6429.tar.xz linux-dev-aa51e3c127a43cf4862db5f0081da281f1aa6429.zip | |
ASoC: mediatek: mt8195: 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 mt8195 ASoC 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>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220922235951.252532-3-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/rdma/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
