generic gralloc HAL doesn't need to support partial updates using msm7k specific ioctl.
diff --git a/hardware.c b/hardware.c
index 786e142..dff5ac3 100644
--- a/hardware.c
+++ b/hardware.c
@@ -68,8 +68,6 @@
/* Construct the path. */
snprintf(path, sizeof(path), "%s/%s.%s.so", HAL_LIBRARY_PATH, id, variant);
- LOGV("load: E id=%s path=%s", id, path);
-
/*
* load the symbols resolving undefined symbols before
* dlopen returns. Since RTLD_GLOBAL is not or'd in with
@@ -112,12 +110,13 @@
dlclose(handle);
handle = NULL;
}
+ } else {
+ LOGV("loaded HAL id=%s path=%s hmi=%p handle=%p",
+ id, path, *pHmi, handle);
}
*pHmi = hmi;
- LOGV("load: X id=%s path=%s hmi=%p handle=%p status=%d",
- id, path, *pHmi, handle, status);
return status;
}
@@ -135,8 +134,6 @@
* We also assume that dlopen() is thread-safe.
*/
- LOGV("hal_module_info_get: Load module id=%s", id);
-
status = -EINVAL;
/* Loop through the configuration variants looking for a module */
@@ -153,7 +150,5 @@
}
*module = hmi;
- LOGV("hal_module_info_get: X id=%s hmi=%p status=%d", id, hmi, status);
-
return status;
}