]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Do not set GPIOs for speakers on IDT if there are no speakers
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 22 Aug 2012 14:10:43 +0000 (16:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Aug 2012 14:26:05 +0000 (16:26 +0200)
commitcc30f5f14cacb82cb075359a8395607e3429b96c
treecdd85f240c81b9579980075cfb6ce25c28352fdd
parent8bb3dc6f53e94f08f07a890cc909cf921c2524c4
ALSA: hda - Do not set GPIOs for speakers on IDT if there are no speakers

This fixes an issue with a machine where there were no speakers,
but GPIO0 had to be data=1 for the headphone to be functioning.

I'm not sure if we need a more advanced patch to solve all possible cases,
but if so, this patch would still provide a minor optimisation.

BugLink: https://bugs.launchpad.net/bugs/1040077
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c