aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen_lib.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-04-16 09:14:30 +0200
committerTakashi Iwai <tiwai@suse.de>2008-04-24 12:00:37 +0200
commite983532e446ac7fabe829d9e3aeff8e26b0a277d (patch)
tree455202378ea19eb64e80b5c764b05a23a97d5f96 /sound/pci/oxygen/oxygen_lib.c
parent193e813814775b1b1574515fc6f11e61b29a54f7 (diff)
downloadmrst-s0i3-test-e983532e446ac7fabe829d9e3aeff8e26b0a277d.tar.gz
mrst-s0i3-test-e983532e446ac7fabe829d9e3aeff8e26b0a277d.tar.xz
mrst-s0i3-test-e983532e446ac7fabe829d9e3aeff8e26b0a277d.zip
[ALSA] oxygen: mute by default
Initialize the playback volume controls as being muted and having minimal volume. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r--sound/pci/oxygen/oxygen_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c
index b7aa9fcb6b8..f84f6a128ee 100644
--- a/sound/pci/oxygen/oxygen_lib.c
+++ b/sound/pci/oxygen/oxygen_lib.c
@@ -221,7 +221,8 @@ static void oxygen_init(struct oxygen *chip)
chip->dac_routing = 1;
for (i = 0; i < 8; ++i)
- chip->dac_volume[i] = chip->model->dac_volume_max;
+ chip->dac_volume[i] = chip->model->dac_volume_min;
+ chip->dac_mute = 1;
chip->spdif_playback_enable = 1;
chip->spdif_bits = OXYGEN_SPDIF_C | OXYGEN_SPDIF_ORIGINAL |
(IEC958_AES1_CON_PCM_CODER << OXYGEN_SPDIF_CATEGORY_SHIFT);