https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=cb420b1186e0090f24137855e14e6f3bf7cb769d

+
+ /* If we didn't find our sequence number mark, fall back to any sequence 
number */
+ for (i = 0; (hsmic || hpmic) && (i < cfg->num_inputs); i++) {
+ if (!can_be_headset_mic(codec, &cfg->inputs[i], -1))
continue;
- cfg->inputs[i].is_headset_mic = 1;
- break;
+ if (hsmic) {
+ cfg->inputs[i].is_headset_mic = 1;
+ hsmic = false;
+ } else if (hpmic) {
+ cfg->inputs[i].is_headphone_mic = 1;
+ hpmic = false;
+ }

the above code add headphome mic even sequence number is not 0x0d

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1299322

Title:
  [Alienware 18, Realtek ALC3661] Sound only comes out of subwoofer, and
  requires lid to be closed then opened to come out of speakers at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1299322/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to