diff options
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", |