agm: remove "LOG_TAG" in device.c
Remove "LOG_TAG" in AGM_LOG statements in
wait_for_snd_card_to_online() for working
condition of AGM log printing.
Change-Id: Ife34de7a0a3817602bcc7961315b8ae8876f33e4
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;
}