<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Unplugging headphone does not correctly fallback to external speakers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84334#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Unplugging headphone does not correctly fallback to external speakers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84334">bug 84334</a>
              from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
        <pre>

<a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=a07a949be6eb1c9aab06adaadce72dbd27b7d9cb">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=a07a949be6eb1c9aab06adaadce72dbd27b7d9cb</a>

Ports:
        analog-output: Analog Output (priority: 9900)
        analog-output-speaker: Speakers (priority: 10000)
        analog-output-headphones: Headphones (priority: 9000, not available)


if analog-output: Analog Output (priority: 9900) is related to surround40

you need to fix the driver by



-    if (cfg->line_out_type != AUTO_PIN_HP_OUT)
+    if (cfg->line_out_type == AUTO_PIN_HP_OUT)
     spec->const_channel_count = max(spec->const_channel_count,
                        cfg->hp_outs * 2);</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>