]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add amp initialization for realtek auto mode
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Apr 2009 14:31:35 +0000 (16:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2009 16:00:30 +0000 (18:00 +0200)
commit9f6d34b87c24f639ebe56d9bdbd68608b3a83d44
tree868cafef688fb7a2d3969f648416667a990021b6
parent2843a1e12648efe4377d2d6ce7fb8cb1dad55596
ALSA: hda - Add amp initialization for realtek auto mode

In the realtek auto-probing mode, the initialization of amp with
some magic COEF or EAPD verbs is applied only when the codec SSID
has valid values to satisfy the realtek's definition.
However, many devices don't provide in that way, thus the device
doesn't work as is.

This patch allows the same initialization code even if the SSID
doesn't pass the bit test.  Also, alc_subsystem_id() is changed
just to check and define the type, so that it's called in the
parser, instead of the initializer.

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