]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda - fix "num_steps = 0" error on ALC256
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 21 Apr 2015 08:48:46 +0000 (10:48 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:05 +0000 (19:12 -0400)
commitbf78e00928b70a304d4e752ba62d8c19aa68b5c0
treeb0009579036930daf1ba49d095ab071dab04407d
parent5f54521eb966f6f36edae9fb9bceb3053f3b624d
ALSA: hda - fix "num_steps = 0" error on ALC256

[ Upstream commit 7d1b6e29327428993ba568bdd8c66734070f45e0 ]

The ALC256 does not have a mixer nid at 0x0b, and there's no
loopback path (the output pins are directly connected to the DACs).

This commit fixes an "num_steps = 0 for NID=0xb (ctl = Beep Playback Volume)"
error (and as a result, problems with amixer/alsamixer).

If there's pcbeep functionality, it certainly isn't controlled by setting an
amp on 0x0b, so disable beep functionality (at least for now).

Cc: stable@vger.kernel.org
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1446517
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/pci/hda/patch_realtek.c