Merge "agm: remove "LOG_TAG" in device.c"
diff --git a/service/src/device.c b/service/src/device.c
index b333730..808b927 100644
--- a/service/src/device.c
+++ b/service/src/device.c
@@ -1094,7 +1094,7 @@
/* maximum wait period = (MAX_RETRY * RETRY_INTERVAL_US) micro-seconds */
do {
if ((fd = open(SNDCARD_PATH, O_RDWR)) < 0) {
- AGM_LOGE(LOG_TAG, "Failed to open snd sysfs node, will retry for %d times ...", (retries - 1));
+ AGM_LOGE("Failed to open snd sysfs node, will retry for %d times ...", (retries - 1));
} else {
memset(buf , 0 ,sizeof(buf));
lseek(fd,0L,SEEK_SET);
@@ -1107,7 +1107,7 @@
sscanf(buf , "%d", &card_status);
if (card_status == SND_CARD_STATUS_ONLINE) {
- AGM_LOGV(LOG_TAG, "snd sysfs node open successful");
+ AGM_LOGV("snd sysfs node open successful");
break;
}
}
@@ -1116,7 +1116,7 @@
} while ( retries > 0);
if (0 == retries) {
- AGM_LOGE(LOG_TAG, "Failed to open snd sysfs node, exiting ... ");
+ AGM_LOGE("Failed to open snd sysfs node, exiting ... ");
ret = -EIO;
}