summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@gmail.com>2012-09-05 11:33:39 +0200
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-09-06 05:16:38 +0400
commitdc9c5a26dfcd4f6937c7afea9489ab3308033cac (patch)
tree226bf6085b60713cae0ad30796115cb71e3e8d73
parent53cf5b14a5251fb7b70be5e717da10ccc799f044 (diff)
downloadandroid_hardware_qcom_audio-dc9c5a26dfcd4f6937c7afea9489ab3308033cac.tar.gz
android_hardware_qcom_audio-dc9c5a26dfcd4f6937c7afea9489ab3308033cac.tar.bz2
android_hardware_qcom_audio-dc9c5a26dfcd4f6937c7afea9489ab3308033cac.zip
audio/msm8660: always show device list
also display not used path Change-Id: I9d97728b9275b9cf15f771e48e927ab8d7d0f595
-rw-r--r--msm8660/AudioHardware.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/msm8660/AudioHardware.cpp b/msm8660/AudioHardware.cpp
index 813c1af5..30db444d 100644
--- a/msm8660/AudioHardware.cpp
+++ b/msm8660/AudioHardware.cpp
@@ -817,19 +817,21 @@ AudioHardware::AudioHardware() :
(strcmp((char* )name[i], "handset_lgcam_tx") == 0))
#endif
index = DEVICE_CAMCORDER_TX;
- else
+ else {
+ ALOGI("Not used device: %s", ( char* )name[i]);
continue;
- ALOGV("index = %d",index);
+ }
+ ALOGI("index = %d",index);
device_list[index].dev_id = msm_get_device((char* )name[i]);
if(device_list[index].dev_id >= 0) {
- ALOGV("Found device: %s:index = %d,dev_id: %d",( char* )name[i], index,device_list[index].dev_id);
+ ALOGI("Found device: %s:index = %d,dev_id: %d",( char* )name[i], index,device_list[index].dev_id);
}
#ifdef QCOM_ACDB_ENABLED
acdb_mapper_get_acdb_id_from_dev_name((char* )name[i], &device_list[index].acdb_id);
device_list[index].class_id = msm_get_device_class(device_list[index].dev_id);
device_list[index].capability = msm_get_device_capability(device_list[index].dev_id);
- ALOGV("acdb ID = %d,class ID = %d,capablity = %d for device %d",device_list[index].acdb_id,
+ ALOGI("acdb ID = %d,class ID = %d,capablity = %d for device %d",device_list[index].acdb_id,
device_list[index].class_id,device_list[index].capability,device_list[index].dev_id);
#endif
}