ALSA: hda - Fix panned "Beep Playback Switch"
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 10 Aug 2012 11:29:32 +0000 (13:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 10 Aug 2012 12:10:20 +0000 (14:10 +0200)
commit14bc9c6dc694e2d7930802f7afd275de25ef8394
treec7ba404da735043b93ef8207ed370cd733b7efca
parentde64c0ee7dbcbfbbe63bd9ea45783d87babc6452
ALSA: hda - Fix panned "Beep Playback Switch"

When "Beep Playback Switch" had a different value on left and right
channels (such as muting left but not right, or vice versa), this
could result in the right channel being ignored.

This patch enables beep to be sounding from right channel only, and
also give correct result back to userspace (e g amixer).

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.c