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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 5 Nov 2012 11:27:38 +0000 (12:27 +0100)
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c

index 61a71131711c734556249b17fc61fc51f1218c1a..3b7d67af14416e5d588e6b2194e0d44185f8fa96 100644 (file)
@@ -1107,7 +1107,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 */