From bd33e2deb02c8837408056477b2fe477ce3d920e Mon Sep 17 00:00:00 2001 From: Herton Ronaldo Krzesinski Date: Wed, 11 Feb 2009 20:33:15 -0200 Subject: [PATCH] --- yaml --- r: 133041 b: refs/heads/master c: c98041f7d71890ac6aa2257d78ef175db44d2cd3 h: refs/heads/master i: 133039: 20b4cb090da24776496b162ef56e453d847b76a2 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_sigmatel.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index d943920787d2..22eba265895f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a1152e3570e271dbf217391d549d3e47e258fe05 +refs/heads/master: c98041f7d71890ac6aa2257d78ef175db44d2cd3 diff --git a/trunk/sound/pci/hda/patch_sigmatel.c b/trunk/sound/pci/hda/patch_sigmatel.c index 1882c5735879..3c84817ccd2e 100644 --- a/trunk/sound/pci/hda/patch_sigmatel.c +++ b/trunk/sound/pci/hda/patch_sigmatel.c @@ -5292,10 +5292,9 @@ static int patch_stac927x(struct hda_codec *codec) stac927x_models, stac927x_cfg_tbl); again: - if (spec->board_config < 0 || !stac927x_brd_tbl[spec->board_config]) { - if (spec->board_config < 0) - snd_printdd(KERN_INFO "hda_codec: Unknown model for" - "STAC927x, using BIOS defaults\n"); + if (spec->board_config < 0) { + snd_printdd(KERN_INFO "hda_codec: Unknown model for" + "STAC927x, using BIOS defaults\n"); err = stac92xx_save_bios_config_regs(codec); } else err = stac_save_pin_cfgs(codec,