drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Wed, 7 Jun 2023 02:05:29 +0000 (10:05 +0800)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 1 Aug 2023 22:36:53 +0000 (01:36 +0300)
commit1832fba7f9780aff67c96ad30f397c2d76141833
tree5d390e9b5d01daa11746d93119cc9e9ac4c5cd5e
parentea45025de81b4922048bae75d717a9ebf41bc6e8
drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask

Add check for dma_set_mask() and return the error if it fails.

Fixes: d76271d22694 ("drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/xlnx/zynqmp_dpsub.c