All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] ALSA: oxygen: initialize spdif_playback_enable to 0
       [not found] <20190103123727.21705-1-me>
@ 2019-01-03 12:37 ` tom.ty89
  0 siblings, 0 replies; only message in thread
From: tom.ty89 @ 2019-01-03 12:37 UTC (permalink / raw)
  To: patch; +Cc: alsa-devel, Tom Yan

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>

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;
-- 
2.20.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-03 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190103123727.21705-1-me>
2019-01-03 12:37 ` [PATCH 2/2] ALSA: oxygen: initialize spdif_playback_enable to 0 tom.ty89

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.