Commit 2e55af28 authored by Ranjhith Kalisamy's avatar Ranjhith Kalisamy Committed by QuIC Gerrit Code Review
Browse files

msm: kgsl: Return error code when ION setup fails



ion_import_dma_buf() can return a NULL without an error code. Detect
this condition & return a -EINVAL as error.

Change-Id: I18d058fd374a8d00c00bb943f496f446c9f1c90d
Signed-off-by: default avatarRanjhith Kalisamy <ranjhith@codeaurora.org>
parent 083b5b52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment