aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>2017-12-14 10:15:28 +0100
committerDominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>2017-12-14 10:15:28 +0100
commitc2a81731c0e89a9239c0b5b90d2e3d716cdaf6dd (patch)
treec55a47525222eee56c787447eaf290cd164a12fc
parent6a3c9a9a626387ede16e3427eabdc8c91114c62f (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>
-rw-r--r--intel-minnow/Intel-HAL-minnow.c3
-rw-r--r--intel-pc/Intel-HAL-pc.c2
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