aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-06-08 14:02:06 +0200
committerTakashi Iwai <tiwai@suse.de>2021-06-08 14:02:06 +0200
commit0280e07bbd6efa691daa7356b6bb05514cdcab68 (patch)
tree1ef76c078b566050dbc865ee9afeb0d526329893 /sound/pci/hda/hda_generic.c
parentALSA: firewire-lib: delete unused kernel API (diff)
parentALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8 (diff)
downloadlinux-dev-0280e07bbd6efa691daa7356b6bb05514cdcab68.tar.xz
linux-dev-0280e07bbd6efa691daa7356b6bb05514cdcab68.zip
Merge branch 'for-linus' into for-next
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r--sound/pci/hda/hda_generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index fc0295790f63..e97d00585e8e 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -3520,6 +3520,7 @@ static int cap_sw_put(struct snd_kcontrol *kcontrol,
static const struct snd_kcontrol_new cap_sw_temp = {
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Capture Switch",
+ .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
.info = cap_sw_info,
.get = cap_sw_get,
.put = cap_sw_put,