From: Takashi Iwai Date: Mon, 29 Mar 2010 07:16:24 +0000 (+0200) Subject: ALSA: hda - Fix invalid bit values passed to snd_hda_codec_amp_stereo() X-Git-Tag: v2.6.34-rc4~29^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dbd5ec6e1cf2e49128025d80813a275744a7ac5;p=pandora-kernel.git ALSA: hda - Fix invalid bit values passed to snd_hda_codec_amp_stereo() The mask and value parameters passed to snd_hda_codec_amp_stereo() should be 8-bit values for mute and volume. Passing AMP_IN_MUTE() is wrong, which is found in many places in patch_realtek.c as a left-over from the conversion to snd_hda_codec_amp_stereo(). Reported-by: Dan Carpenter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed