aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ca0106')
-rw-r--r--sound/pci/ca0106/ca0106_mixer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/ca0106/ca0106_mixer.c b/sound/pci/ca0106/ca0106_mixer.c
index 35309b3ed8c0..df75270939ac 100644
--- a/sound/pci/ca0106/ca0106_mixer.c
+++ b/sound/pci/ca0106/ca0106_mixer.c
@@ -472,10 +472,12 @@ static int snd_ca0106_i2c_volume_put(struct snd_kcontrol *kcontrol,
472#define CA_VOLUME(xname,chid,reg) \ 472#define CA_VOLUME(xname,chid,reg) \
473{ \ 473{ \
474 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ 474 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
475 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE | \
476 SNDRV_CTL_ELEM_ACCESS_TLV_READ, \
475 .info = snd_ca0106_volume_info, \ 477 .info = snd_ca0106_volume_info, \
476 .get = snd_ca0106_volume_get, \ 478 .get = snd_ca0106_volume_get, \
477 .put = snd_ca0106_volume_put, \ 479 .put = snd_ca0106_volume_put, \
478 .tlv = snd_ca0106_db_scale, \ 480 .tlv.p = snd_ca0106_db_scale, \
479 .private_value = ((chid) << 8) | (reg) \ 481 .private_value = ((chid) << 8) | (reg) \
480} 482}
481 483