Commit 6861b213 authored by Deva Ramasubramanian's avatar Deva Ramasubramanian Committed by Linux Build Service Account
Browse files

vidc: Add check for ION import fd errors.



ION APIs return error values rather than NULL pointers in case of
failure.  Hence remove the explicit NULL check and use the IS_ERR macro
to identify failure.

Change-Id: I38d6ce06e676dfc0f85954bf509db53295906bbe
Signed-off-by: default avatarDeva Ramasubramanian <dramasub@codeaurora.org>
parent 1268d1e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment