drm: xlnx: zynqmp_dpsub: Use dev_err_probe instead of dev_err
authorWang Ming <machel@vivo.com>
Wed, 26 Jul 2023 11:57:56 +0000 (19:57 +0800)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 1 Aug 2023 22:36:54 +0000 (01:36 +0300)
commit55354ee7dcc5aa12634f66a12c92c849eded8de9
tree83dcef432b4d8984720f1f510ec74dec2a706f22
parent1832fba7f9780aff67c96ad30f397c2d76141833
drm: xlnx: zynqmp_dpsub: Use dev_err_probe instead of dev_err

It is possible that dma_request_chan() returns EPROBE_DEFER, in which
case the driver defers probing without printing any message. Use
dev_err_probe() to record the probe deferral cause and ease debugging.

Signed-off-by: Wang Ming <machel@vivo.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c