diff options
Diffstat (limited to 'sound/pci/oxygen/oxygen_mixer.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_mixer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c index 056581ecd915..cc0cddadd589 100644 --- a/sound/pci/oxygen/oxygen_mixer.c +++ b/sound/pci/oxygen/oxygen_mixer.c | |||
@@ -941,6 +941,11 @@ static int add_controls(struct oxygen *chip, | |||
941 | return err; | 941 | return err; |
942 | if (err == 1) | 942 | if (err == 1) |
943 | continue; | 943 | continue; |
944 | if (!strcmp(template.name, "Master Playback Volume") && | ||
945 | chip->model->dac_tlv) { | ||
946 | template.tlv.p = chip->model->dac_tlv; | ||
947 | template.access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; | ||
948 | } | ||
944 | ctl = snd_ctl_new1(&template, chip); | 949 | ctl = snd_ctl_new1(&template, chip); |
945 | if (!ctl) | 950 | if (!ctl) |
946 | return -ENOMEM; | 951 | return -ENOMEM; |