ALSA: hda: Fix Acer Nitro 5 AN515-57 mic switching
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v11 patch 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ALSA: hda: Allow jack presence to follow another pinsound/ sound/ | +86 | 0 replies | |
| 2/2 | ALSA: hda/realtek: Fix Acer Nitro 5 AN515-57 mic switchingsound/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] ALSA: hda: Fix Acer Nitro 5 AN515-57 mic switching
Hi Takashi,
Thanks for the review :)
I reworked the fix to use gating in jack.c. I believe this is what you meant, and will fix if not.
Ordinary gating still requires the microphone pin's own presence bit. On this laptop, pin 0x19 can report both false presence after S3 and false absence after reinsertion, so gating alone does not cover both failures.
Patch 1 adds an opt-in mode that takes presence entirely from another pin, using the existing gating relationship for callback propagation. Patch 2 uses headphone pin 0x21 as the source for headset-mic pin 0x19 on the Acer Nitro 5 AN515-57 (1025:1539).
Based on sound.git for-linus at:c9e6e5f38bf75276605f1952b22285f5f3abcaff
Previous submission:
https://lore.kernel.org/r/[email protected]
Thanks,
Rithvik
Rithvik Vibhu (2):
ALSA: hda: Allow jack presence to follow another pin
ALSA: hda/realtek: Fix Acer Nitro 5 AN515-57 mic switching
sound/hda/codecs/realtek/alc269.c | 25 ++++++++++++++++++++++++- sound/hda/common/hda_jack.h | 4 ++ sound/hda/common/jack.c | 83 ++++++++++++++++++++++++++++++++++++- 3 files changed, 110 insertions(+), 2 deletions(-)