diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-04-16 03:14:30 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:37 -0400 |
commit | e983532e446ac7fabe829d9e3aeff8e26b0a277d (patch) | |
tree | 455202378ea19eb64e80b5c764b05a23a97d5f96 /sound/pci/oxygen/oxygen_lib.c | |
parent | 193e813814775b1b1574515fc6f11e61b29a54f7 (diff) |
[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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index b7aa9fcb6b81..f84f6a128ee9 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) | |||
221 | 221 | ||
222 | chip->dac_routing = 1; | 222 | chip->dac_routing = 1; |
223 | for (i = 0; i < 8; ++i) | 223 | for (i = 0; i < 8; ++i) |
224 | chip->dac_volume[i] = chip->model->dac_volume_max; | 224 | chip->dac_volume[i] = chip->model->dac_volume_min; |
225 | chip->dac_mute = 1; | ||
225 | chip->spdif_playback_enable = 1; | 226 | chip->spdif_playback_enable = 1; |
226 | chip->spdif_bits = OXYGEN_SPDIF_C | OXYGEN_SPDIF_ORIGINAL | | 227 | chip->spdif_bits = OXYGEN_SPDIF_C | OXYGEN_SPDIF_ORIGINAL | |
227 | (IEC958_AES1_CON_PCM_CODER << OXYGEN_SPDIF_CATEGORY_SHIFT); | 228 | (IEC958_AES1_CON_PCM_CODER << OXYGEN_SPDIF_CATEGORY_SHIFT); |