]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2015 08:51:56 +0000 (10:51 +0200)
commit7d1b6e29327428993ba568bdd8c66734070f45e0
tree82b55e7fa0e8af34b7385b4f1337945477acd4c6
parent6d1f2f605601ec701b561eca143c03e2a22d6489
ALSA: hda - fix "num_steps = 0" error on ALC256

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>
sound/pci/hda/patch_realtek.c