diff options
author | Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> | 2017-12-14 02:52:11 +0100 |
---|---|---|
committer | Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> | 2017-12-14 02:52:27 +0100 |
commit | 6a3c9a9a626387ede16e3427eabdc8c91114c62f (patch) | |
tree | 5cb90dcf12b481e47bedc9383126d5c08045580c /intel-minnow | |
parent | a8e946de822d1611549bbdbcfc04ca4f5e14773a (diff) |
clearing garbage in source code breaking compilation
Change-Id: Ib938507cbdbcd6233957df4e7f7673166cb56e83
Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
Diffstat (limited to 'intel-minnow')
-rw-r--r-- | intel-minnow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | intel-minnow/Intel-HAL-minnow.c (renamed from intel-minnow/IntelHdaHAL.c) | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/intel-minnow/CMakeLists.txt b/intel-minnow/CMakeLists.txt index fc67013..15fdb0b 100644 --- a/intel-minnow/CMakeLists.txt +++ b/intel-minnow/CMakeLists.txt @@ -21,7 +21,7 @@ if(HAL_INTEL_HDA) PROJECT_TARGET_ADD(hal-intel-minnow) # Define project Targets - ADD_LIBRARY(${TARGET_NAME} MODULE IntelHdaHAL.c) + ADD_LIBRARY(${TARGET_NAME} MODULE Intel-HAL-minnow.c) # Binder exposes a unique public entry point SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES diff --git a/intel-minnow/IntelHdaHAL.c b/intel-minnow/Intel-HAL-minnow.c index 99412f0..48a2cdb 100644 --- a/intel-minnow/IntelHdaHAL.c +++ b/intel-minnow/Intel-HAL-minnow.c @@ -27,7 +27,7 @@ // Define few private tag for not standard functions #define PCM_Volume_Multimedia 1000 #define PCM_Volume_Navigation 1001 -#define PCM_Volume_Emergency 1002 +#define PCM_Volume_Emergency 1002 // Default Values for MasterVolume Ramping STATIC halVolRampT volRampMaster= { @@ -126,10 +126,9 @@ 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=Video_Playback_Volume, .ctl={.name="Video_Volume", .value=100 } }, - { .tag=Phone_Playback_Volume, .ctl={.name="Phone_Volume", .value=100 } }, + { .tag=Master_Playback_Volume, .ctl={.name="Video_Volume", .value=100 } }, { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=100 } }, - { .tag=IEC958 Playback Switch, .ctl={.name="IEC958 Playback Switch" } }, + { .tag=PCM_Playback_Switch, .ctl={.name="IEC958 Playback Switch" } }, // Sound card does not have hardware volume ramping { .tag=Master_Playback_Ramp , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="Master Playback Volume Ramp", |