[2/2] ALSA: oxygen: initialize spdif_playback_enable to 0
diff mbox series

Message ID 5c2e021a.1c69fb81.b8dff.5bbe@mx.google.com
State New
Headers show
Series
  • [1/2] ALSA: virtuoso: add de-emphasis control
Related show

Commit Message

Tom Yan Jan. 3, 2019, 12:37 p.m. UTC
From: Tom Yan <tom.ty89@gmail.com>

oxygen_init() has been clearing the OXYGEN_SPDIF_OUT_ENABLE bit and
initializing dac_mute to 1.

Signed-off-by: Tom Yan <tom.ty89@gmail.com>

Patch
diff mbox series

diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c
index b4ef5804212d..6a743c878415 100644
--- a/sound/pci/oxygen/oxygen_lib.c
+++ b/sound/pci/oxygen/oxygen_lib.c
@@ -373,7 +373,7 @@  static void oxygen_init(struct oxygen *chip)
 	for (i = 0; i < 8; ++i)
 		chip->dac_volume[i] = chip->model.dac_volume_min;
 	chip->dac_mute = 1;
-	chip->spdif_playback_enable = 1;
+	chip->spdif_playback_enable = 0;
 	chip->spdif_bits = OXYGEN_SPDIF_C | OXYGEN_SPDIF_ORIGINAL |
 		(IEC958_AES1_CON_PCM_CODER << OXYGEN_SPDIF_CATEGORY_SHIFT);
 	chip->spdif_pcm_bits = chip->spdif_bits;