Commit 5a8cfb4e authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Use ALC_INIT_DEFAULT for really default initialization

When SKU assid gives no valid bits for 0x38, the driver didn't take
any action, so far.  This resulted in the missing initialization for
external amps, etc, thus the silent output in the end.

Especially users hit this problem on ALC888 newly since 2.6.35,
where the driver doesn't force to use ALC_INIT_DEFAULT any more.

This patch sets the default initialization scheme to use
ALC_INIT_DEFAULT when no valid bits are set for SKU assid.

Reference:
	https://bugzilla.redhat.com/show_bug.cgi?id=657388Reported-and-tested-by: default avatarKyle McMartin <kyle@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7167594a
...@@ -1614,6 +1614,7 @@ static int alc_subsystem_id(struct hda_codec *codec, ...@@ -1614,6 +1614,7 @@ static int alc_subsystem_id(struct hda_codec *codec,
spec->init_amp = ALC_INIT_GPIO3; spec->init_amp = ALC_INIT_GPIO3;
break; break;
case 5: case 5:
default:
spec->init_amp = ALC_INIT_DEFAULT; spec->init_amp = ALC_INIT_DEFAULT;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment