]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
ALSA: hda - Don't overwrite the pin default configs
authorTakashi Iwai <tiwai@suse.de>
Thu, 22 Nov 2012 07:16:31 +0000 (08:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Nov 2012 16:45:45 +0000 (17:45 +0100)
commit3fdf1469ee7af4367de8f563f69681920844ec95
tree913fe305782c927d600a791b07a7a49fd36f00b3
parente15f1b43e1dbb24c91f1434700e4ba876f8e6734
ALSA: hda - Don't overwrite the pin default configs

Since we keep the pin default config values anyway internally, we
don't have to set the values in the codec.  This patch removes the
code writing the pincfg values.

As a gratis bonus, we can remove also the code restoring the original
pincfg values at PM resume or module free.  This will give us more
benefit, as it can reduce the unnecessary power-up of codecs.

This won't change the driver functionality.  The only difference would
be that the codec proc file will show the original pincfg values
instead of the actually referred values.  The actually referred values
can be determined from sysfs *_pin_configs files.
(Also hda-emu was updated to follow this change.)

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