]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: hda: Cirrus: Fix coefficient index for beep configuration
authorAlexander Stein <alexander.stein@systec-electronic.com>
Thu, 1 Nov 2012 12:42:37 +0000 (13:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:37:41 +0000 (11:37 -0800)
commit 5a83b4b5a391f07141b157ac9daa51c409e71ab5 upstream.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_cirrus.c

index 2bc6c51f58e7939c74f18368925cee98f0f7da53..d7ba0f124d568e5042811a559544c913eccb98c2 100644 (file)
@@ -1112,7 +1112,7 @@ static const struct hda_verb cs_coef_init_verbs[] = {
          | 0x0400 /* Disable Coefficient Auto increment */
          )},
        /* Beep */
-       {0x11, AC_VERB_SET_COEF_INDEX, IDX_DAC_CFG},
+       {0x11, AC_VERB_SET_COEF_INDEX, IDX_BEEP_CFG},
        {0x11, AC_VERB_SET_PROC_COEF, 0x0007}, /* Enable Beep thru DAC1/2/3 */
 
        {} /* terminator */