Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0dc00b42 authored by Karthikeyan Periasamy's avatar Karthikeyan Periasamy
Browse files

msm: vidc: Check ion_handle for errors



When ion imports dma buf, it will return negative error number
in the case of failure like bad file number or invalid dma buf file.

check ion_handle for error numbers.

CRs-Fixed: 1071602
Change-Id: I1ea93161b85deb667cbb6f8515ff7c6943da6e3d
Signed-off-by: default avatarKarthikeyan Periasamy <kperiasa@codeaurora.org>
parent 67598d84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment