ALSA: hda/cirrus - Fix the digital beep registration
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Mar 2013 10:00:44 +0000 (11:00 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 27 Mar 2013 02:41:16 +0000 (02:41 +0000)
commit436de1e2e3f620f308d8e9ecccdae62382149d9f
tree852b778f5283b42464c15842164119eb7cdf72d5
parentfb3d4562e7df2859d5bbfab3362cf74914a554db
ALSA: hda/cirrus - Fix the digital beep registration

commit a86b1a2cd2f81f74e815e07f756edd7bc5b6f034 upstream.

The argument passed to snd_hda_attach_beep_device() is a widget NID
while spec->beep_amp holds the composed value for amp controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/patch_conexant.c