vidc: Fix cleanup error after a failure when importing ion fd.
An invalid value in the kernel address variable causes an
ion unmap error when attempting to clean up after a failure
occurs when importing the ion fd in the function
vidc_insert_addr_table().
When an ion import fd failure occurs, cleanup is not required.
During failure we now go directly to bail out and the cleanup
code is skipped.
CRs-Fixed: 332841
Change-Id: I3aa99a278806b8f8031c1618ab067391909105c7
Signed-off-by:
Luis GarciaCalderon <luisgc@codeaurora.org>
Loading
Please sign in to comment