ALSA: hda/realtek - Simplify the output volume initialization
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Dec 2012 16:07:16 +0000 (17:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jan 2013 09:34:28 +0000 (10:34 +0100)
commit78e635c93b0e385dc23d18c2a4047fc8857467bd
treef04df0da57f01f3c97c341ab4509eab4e810d437
parent792cf2fa2ea926c0c07277c0b67ab60745e8f898
ALSA: hda/realtek - Simplify the output volume initialization

Simplify the output path initialization using the existing path
information instead of assuming the topology specific to Realtek
codecs.  This is also implicitly a fix for some amp values on output
pins where the old parser missed (e.g. ALC260 output pins).

The same function alc_auto_set_output_and_unmute() can be used now for
the multi-io activation, since the output selection means nothing but
activating the given output path.

And, finally at this stage, we can get rid of alc_go_down_to_selector()
and other functions that are codec really specifically to Realtek
codecs.

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