OSDN Git Service

conf/ucm: bytcr-rt5651: Do not use both DAC1 and HPVOL inputs for HP
authorHans de Goede <hdegoede@redhat.com>
Wed, 8 Aug 2018 09:05:32 +0000 (11:05 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 8 Aug 2018 09:44:13 +0000 (11:44 +0200)
The headphones can either be driven directly from DAC1, or through
the HP volume mixer chain to allow volume control, both can be enabled
at the same time, but this should not be done.

Mix only DAC1 to the headphones and not the HP volume path, there
are 2 reasons to choice the DAC1 path;
1) It is the power-on-reset default
2) We don't expose the volume control to e.g. pulseaudio anyways so it
   is not useful

While at it also move the "HPO MIX DAC1" and "HPO MIX HPVOL" entries up a
bit so that they are no longer inbetween the "HPO L Playback Switch" and
"HPO R Playback Switch" entries.

Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf/ucm/bytcr-rt5651/HiFi.conf
src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf

index 8ded2d5..bc60427 100644 (file)
@@ -30,7 +30,6 @@ SectionDevice."Headphones" {
                cset "name='Headphone Switch' on"
                cset "name='HPO L Playback Switch' on"
                cset "name='HPO R Playback Switch' on"
-               cset "name='HP Playback Volume' 100"
        ]
 
        DisableSequence [
@@ -39,7 +38,6 @@ SectionDevice."Headphones" {
                cset "name='Headphone Switch' off"
                cset "name='HPO L Playback Switch' off"
                cset "name='HPO R Playback Switch' off"
-               cset "name='HP Playback Volume' 0"
        ]
 
        Value {
index 069427b..3bf7f69 100644 (file)
@@ -99,10 +99,10 @@ SectionDefaults [
 
        # default state
        cset "name='ADC Capture Volume' 126"
+       cset "name='HPO MIX DAC1 Switch' on"
+       cset "name='HPO MIX HPVOL Switch' off"
        cset "name='HP Playback Volume' 0"
        cset "name='HPO L Playback Switch' off"
-       cset "name='HPO MIX DAC1 Switch' on"
-       cset "name='HPO MIX HPVOL Switch' on"
        cset "name='HPO R Playback Switch' off"
        cset "name='HPOVOL L Switch' on"
        cset "name='HPOVOL R Switch' on"