diff options
author | Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> | 2017-12-14 10:15:28 +0100 |
---|---|---|
committer | Walt Miner <walt@linux.com> | 2017-12-14 09:20:03 +0000 |
commit | 3a9c5defd031312d801c57ea654636dbe04fa492 (patch) | |
tree | 40418ed5bd8af7878972e7cef6af37b097323a48 | |
parent | cd00354595034fa185b5670bbeaf1d2c19743681 (diff) |
unmuting the card by default to get sound out of the box
Change-Id: Icca67bfccba3c8ee84d3ca99632cf4f40fc9abf5
Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
(cherry picked from commit c2a81731c0e89a9239c0b5b90d2e3d716cdaf6dd)
-rw-r--r-- | intel-minnow/Intel-HAL-minnow.c | 3 | ||||
-rw-r--r-- | intel-pc/Intel-HAL-pc.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/intel-minnow/Intel-HAL-minnow.c b/intel-minnow/Intel-HAL-minnow.c index 48a2cdb..00088fb 100644 --- a/intel-minnow/Intel-HAL-minnow.c +++ b/intel-minnow/Intel-HAL-minnow.c @@ -127,8 +127,7 @@ STATIC halVolRampT volRampFallback= { // Map HAL hight sndctl with Alsa numid and optionally with a custom callback for non Alsa supported functionalities. STATIC alsaHalMapT alsaHalMap[]= { { .tag=Master_Playback_Volume, .ctl={.name="Video_Volume", .value=100 } }, - { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=100 } }, - { .tag=PCM_Playback_Switch, .ctl={.name="IEC958 Playback Switch" } }, + { .tag=PCM_Playback_Switch, .ctl={.name="IEC958 Playback Switch", .value=1 } }, // Sound card does not have hardware volume ramping { .tag=Master_Playback_Ramp , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="Master Playback Volume Ramp", diff --git a/intel-pc/Intel-HAL-pc.c b/intel-pc/Intel-HAL-pc.c index 39de13b..6350580 100644 --- a/intel-pc/Intel-HAL-pc.c +++ b/intel-pc/Intel-HAL-pc.c @@ -128,7 +128,7 @@ STATIC halVolRampT volRampFallback= { STATIC alsaHalMapT alsaHalMap[]= { { .tag=Master_Playback_Volume, .ctl={.name="Master Playback Volume", .value=100 } }, { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=100 } }, - { .tag=PCM_Playback_Switch , .ctl={.name="Master Playback Switch" } }, + { .tag=PCM_Playback_Switch , .ctl={.name="Master Playback Switch", .value=1 } }, { .tag=Capture_Volume , .ctl={.name="Capture Volume" } }, // Sound card does not have hardware volume ramping |