summaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorWang Ming <machel@vivo.com>2023-07-26 14:51:58 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 10:40:01 +0300
commit3f1e1f69ad6c13c9e9fadd0595f7e2ce33ba89a1 (patch)
treed28f8b8fd9d4fc8cb4b281b495dc58b1fd1ecacb /include/linux/node.h
parent026c341795e593df640b901f8d36f90a2461a180 (diff)
downloadlinux-3f1e1f69ad6c13c9e9fadd0595f7e2ce33ba89a1.tar.xz
media: platform: Use dev_err_probe instead of dev_err
It is possible that dma_request_chan will return EPROBE_DEFER, which means that dma->xdev->dev is not ready yet. In this case, dev_err(dma->xdev->dev), there will be no output. This patch fixes the bug. Signed-off-by: Wang Ming <machel@vivo.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions