]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:38 +0000 (12:22 +0200)
commitd0b82c217febf8371009bde21bec2bfae18641b7
treeb2523916438b4d825ee3968cf941a901089ed85f
parentb7b0c48851c45be7280f1022bb131096c014bfa5
drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask

[ Upstream commit 1832fba7f9780aff67c96ad30f397c2d76141833 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xlnx/zynqmp_dpsub.c