aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_encoder.c
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2016-01-05 09:43:15 +0000
committerTomi Valkeinen <[email protected]>2016-03-03 15:36:41 +0000
commita3d6345d31545c418acb6d71730fa02ae9c455f7 (patch)
tree93263892a355075be90345db6f55bd51d60e566d /drivers/gpu/drm/omapdrm/omap_encoder.c
parentdrm/omap: use dma_mapping_error in omap_gem_attach_pages (diff)
downloadkernel-a3d6345d31545c418acb6d71730fa02ae9c455f7.tar.gz
kernel-a3d6345d31545c418acb6d71730fa02ae9c455f7.zip
drm/omap: use dma_mapping_error in omap_gem_dma_sync
omap_gem_dma_sync() calls dma_map_page() but does not check the possible error with dma_mapping_error(). If DMA-API debugging is enabled, the debug layer will give a warning if dma_mapping_error() has not been used. This patch adds proper error handling to omap_gem_dma_sync(). Signed-off-by: Tomi Valkeinen <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_encoder.c')
0 files changed, 0 insertions, 0 deletions