ALSA: hda - Cleanup setting of pin_configs in patch_stac927x
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Wed, 11 Feb 2009 22:33:15 +0000 (20:33 -0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Feb 2009 23:17:31 +0000 (00:17 +0100)
commitc98041f7d71890ac6aa2257d78ef175db44d2cd3
tree67f5914b72180212e9648d62b254a152975f1d1d
parenta1152e3570e271dbf217391d549d3e47e258fe05
ALSA: hda - Cleanup setting of pin_configs in patch_stac927x

After commit "ALSA: hda - Fix restore of pin configs at resume for
STAC/IDT codecs", the introduced stac_save_pin_cfgs function checks
already for pins == NULL case, saving then default pin configs from
machine with stac92xx_save_bios_config_regs. So we can remove the
extra checks when stac927x_brd_tbl[spec->board_config] == NULL.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c