commit | 5dbd5ec6e1cf2e49128025d80813a275744a7ac5 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Mar 29 09:16:24 2010 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Mar 29 09:18:49 2010 +0200 |
tree | 6b9e37293030480c891cf78433767e2f63af532e | |
parent | 9ec8ddad59fadd8021adfea4cb716a49b0e232e9 [diff] |
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 <error27@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>