ALSA: hda - Fix initialization of hp pins with master_mute in Realtek
authorTakashi Iwai <tiwai@suse.de>
Fri, 10 Jun 2011 13:28:15 +0000 (15:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 10 Jun 2011 13:28:15 +0000 (15:28 +0200)
commitc0a20263dbe1fc5f394913d71063c9cd8282c5db
treec41815b92ee389fb0185e94b2c9af9e7c1f6fd76
parent20f5e0b36d968326fab3b720035f226113e34ae9
ALSA: hda - Fix initialization of hp pins with master_mute in Realtek

Some Reatlek model quirks use master_mute bool switch for controlling
the master-mute of outputs.  For these cases, the initialization of HP
pins/amps were forgotten during the transition to the common automute
helper function in 3.0 development time, and resulted in the muted HP
output as default.

This patch fixes the issue by adjusting the HP output explicitly with
master_mute switch.

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