Commit 14956156 authored by Yuanfang Zhang's avatar Yuanfang Zhang Committed by Gerrit - the friendly Code Review server
Browse files

coresight: tmc-etr: fix etr smmu unmap issue



The return value 0 of dma_map_resource() is valid, so should use
the dma_mapping_error() to check for errors.

Change-Id: I368f480ed66bad0498e38da2fc6baa78b5935d7f
Signed-off-by: default avatarYuanfang Zhang <zhangyuanfang@codeaurora.org>
parent 0164a226
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment