aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJames Calligeros <[email protected]>2024-10-20 00:47:33 +1000
committerMark Brown <[email protected]>2024-10-24 16:09:19 +0100
commit2391b8719d686b1947b5f81250281fa112da91dc (patch)
treea408dd43bece00f521666d9b96af57e0e3cba5cd /lib/crypto/mpi/mpiutil.c
parent250304a0fb34bb74f4726645ae24dc31d7582a22 (diff)
ASoC: cs42l84: leverage ring sense IRQs to correctly detect headsets
Some jacks integrated on devices with this codec, such as certain Apple Silicon Macs, have quite trigger-happy tip sense switches that cause a tip sense IRQ before the plug is fully seated. If users are unfortunate with their timing, this can lead to headsets being detected as mic-less headphones among other issues with the codec's device detection routines. Introduce some rudimentary ring sense interrupt handling so that we can re-trigger the codec's detection routines when we are certain that the plug is fully seated. This seems to differ from what other Cirrus drivers do, but is necessary for devices to be reliably detected properly here. Signed-off-by: James Calligeros <[email protected]> Reviewed-by: Neal Gompa <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions