diff options
author | NĂcolas F. R. A. Prado <[email protected]> | 2022-09-22 19:59:46 -0400 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-09-23 13:56:04 +0100 |
commit | 194ff8db03782d1dae41b7b42ea65da5748884c2 (patch) | |
tree | e18865122d6e85fcfc3098f755e832d51ac34835 /lib/mpi/mpi-sub-ui.c | |
parent | e2f0b9277810685f6a67201847082ec9852853bd (diff) |
ASoC: mediatek: mt8192-mt6359: 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 mt8192-mt6359 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 <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Tested-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions