diff options
author | Tom Yan <tom.ty89@gmail.com> | 2018-12-21 13:52:57 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-07 11:54:55 +0100 |
commit | 4bccb403f2ca06718ac3a3d9b02e89ca4e823d9f (patch) | |
tree | f487055a0eba5fcb10934d34096e5b42f2a06cf5 /sound/pci/oxygen | |
parent | ALSA: virtuoso: add de-emphasis control (diff) | |
download | linux-4bccb403f2ca06718ac3a3d9b02e89ca4e823d9f.tar.xz linux-4bccb403f2ca06718ac3a3d9b02e89ca4e823d9f.zip |
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: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |