diff options
author | Mathias Agopian <mathias@google.com> | 2009-07-15 15:01:10 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-07-15 15:12:13 -0700 |
commit | 6d125da5d28369df62dc5c186b43fcd40a3d33e8 (patch) | |
tree | 5c6415ade2e5bb8a6d781fa6b342c6edeffec601 /hardware.c | |
parent | 05eacf533eb90f79f4af43e9cf86cdb3817a00ca (diff) | |
download | hardware_libhardware-6d125da5d28369df62dc5c186b43fcd40a3d33e8.tar.gz hardware_libhardware-6d125da5d28369df62dc5c186b43fcd40a3d33e8.tar.bz2 hardware_libhardware-6d125da5d28369df62dc5c186b43fcd40a3d33e8.zip |
generic gralloc HAL doesn't need to support partial updates using msm7k specific ioctl.
Diffstat (limited to 'hardware.c')
-rw-r--r-- | hardware.c | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -68,8 +68,6 @@ static int load(const char *id, /* 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 @@ done: 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 @@ int hw_get_module(const char *id, const struct hw_module_t **module) * 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 @@ int hw_get_module(const char *id, const struct hw_module_t **module) } *module = hmi; - LOGV("hal_module_info_get: X id=%s hmi=%p status=%d", id, hmi, status); - return status; } |