commit | 56e581c1a2463cb6fec8c2eee5df06acac2cf90a | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Mon Dec 23 19:13:00 2013 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 23 19:13:00 2013 -0800 |
tree | fc5072ca005fc7f3361e8285f2ab04b5f514948c | |
parent | 44ffc69497d92effe274c29f5d27b2f65c17b807 [diff] | |
parent | 9253f9a3fc9ddd08153769d738dc2599e50c65b8 [diff] |
Merge "ion: msm: fix bug with handle id handling"
diff --git a/drivers/gpu/ion/msm/msm_ion.c b/drivers/gpu/ion/msm/msm_ion.c index cdd31e1..a6fc3d5 100644 --- a/drivers/gpu/ion/msm/msm_ion.c +++ b/drivers/gpu/ion/msm/msm_ion.c
@@ -973,7 +973,7 @@ sizeof(struct ion_flush_data))) return -EFAULT; - if (data.handle >= 0) { + if (data.handle > 0) { handle = ion_handle_get_by_id(client, (int)data.handle); if (IS_ERR(handle)) { pr_info("%s: Could not find handle: %d\n",