From: Takashi Iwai Date: Fri, 14 Dec 2012 09:32:21 +0000 (+0100) Subject: ALSA: hda - Introduce snd_hda_codec_amp_init*() X-Git-Tag: v3.9-rc1~129^2~70^2~177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=280e57d544f5f9f599de8e11aacb7c087da254b8;p=pandora-kernel.git ALSA: hda - Introduce snd_hda_codec_amp_init*() The new function snd_hda_codec_amp_init() (and the stereo variant) initializes the amp value only once at the first access. If the amp was already initialized or updated, this won't do anything more. It's useful for initializing the input amps that are in the part of the path but never used. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed