]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda - Avoid to set the pin control again if already set
authorTakashi Iwai <tiwai@suse.de>
Thu, 22 Jan 2009 15:59:20 +0000 (16:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Jan 2009 15:59:20 +0000 (16:59 +0100)
commit8ce8419829998c91b33200894a0db5e1441d6952
tree3986941b723f18eae860decf8e7ac3a41d2109c8
parent1eaf5c0716d53d3f64da62a09682b1f5ae912ac2
ALSA: hda - Avoid to set the pin control again if already set

Check the present pin control bit and avoid the write if it's already
set in patch_sigmatel.c.  This will reduce the number of verb execs at
jack plugging.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c