diff options
author | Dileep Kumar Reddi <dkumarre@codeaurora.org> | 2014-06-26 09:43:49 +0530 |
---|---|---|
committer | Dileep Kumar Reddi <dkumarre@codeaurora.org> | 2014-06-26 09:43:49 +0530 |
commit | 8ec85afb84124d37f83e7c997bf23d00186309a3 (patch) | |
tree | d247a9144fb0f73f40bb15c060907590971dd0c3 /libcopybit | |
parent | bd95ab12629d540a0203aefe17fa522aef5be43f (diff) | |
download | display-8ec85afb84124d37f83e7c997bf23d00186309a3.tar.gz |
copybit: Minor fix in opening copybit device
Proper handing of opening copybit device.
Change-Id: Id54ca463fe34764a1a3ffe90a71d8eec7cfefeb3
Diffstat (limited to 'libcopybit')
-rw-r--r-- | libcopybit/copybit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcopybit/copybit.cpp b/libcopybit/copybit.cpp index 645cd81d..84d76208 100644 --- a/libcopybit/copybit.cpp +++ b/libcopybit/copybit.cpp @@ -705,7 +705,7 @@ static int open_copybit(const struct hw_module_t* module, const char* name, { int status = -EINVAL; - if (!strcmp(name, COPYBIT_HARDWARE_COPYBIT0)) { + if (strcmp(name, COPYBIT_HARDWARE_COPYBIT0)) { return COPYBIT_FAILURE; } copybit_context_t *ctx; |