Commit 4bccb403 authored by Tom Yan's avatar Tom Yan Committed by Takashi Iwai

ALSA: oxygen: initialize spdif_playback_enable to 0

There's no reason for us to do that while we initialize dac_mute to
1. Also oxygen_init() has been clearing the OXYGEN_SPDIF_OUT_ENABLE
bit anyway.
Signed-off-by: default avatarTom Yan <tom.ty89@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 748b6ec3
...@@ -373,7 +373,7 @@ static void oxygen_init(struct oxygen *chip) ...@@ -373,7 +373,7 @@ static void oxygen_init(struct oxygen *chip)
for (i = 0; i < 8; ++i) for (i = 0; i < 8; ++i)
chip->dac_volume[i] = chip->model.dac_volume_min; chip->dac_volume[i] = chip->model.dac_volume_min;
chip->dac_mute = 1; chip->dac_mute = 1;
chip->spdif_playback_enable = 1; chip->spdif_playback_enable = 0;
chip->spdif_bits = OXYGEN_SPDIF_C | OXYGEN_SPDIF_ORIGINAL | chip->spdif_bits = OXYGEN_SPDIF_C | OXYGEN_SPDIF_ORIGINAL |
(IEC958_AES1_CON_PCM_CODER << OXYGEN_SPDIF_CATEGORY_SHIFT); (IEC958_AES1_CON_PCM_CODER << OXYGEN_SPDIF_CATEGORY_SHIFT);
chip->spdif_pcm_bits = chip->spdif_bits; chip->spdif_pcm_bits = chip->spdif_bits;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment