Commit 577d76ee authored by Eric Ho's avatar Eric Ho
Browse files

vidc: Add check for ion import fd errors.



ion_import_fd can return ERR_PTR(-EINVAL) on error.
fix added to check whether the handle returned
has an error value.

Change-Id: Icaf79630c44e0ffe13c07a26fd4323201479101c
Crs-Fixed: 328546
Signed-off-by: default avatarEric Ho <yinlokh@codeaurora.org>
parent 58fcde43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment