diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2024-06-06 19:52:29 -0400 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2024-06-27 14:03:49 +0000 |
commit | 45b70f71a1c161fc2848395f6cb1ef1ac2222d3b (patch) | |
tree | 924d2fea38efb44e87edbf38483c7edb80a341c7 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 20fb7ca6bf04bc381636ae7e8898cb8d5c9e81ae (diff) |
drm/mediatek: Log errors in probe with dev_err_probe()
Use dev_err_probe() to log errors in the probe function of all drm
mediatek drivers. This avoids -EPROBE_DEFER return values from being
logged as errors, like the following:
mediatek-disp-rdma 1c002000.rdma: Failed to add component: -517
As a side benefit it also standardizes the format of the error in the
log messages.
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20240606-mtk-disp-rdma-dev-err-probe-v2-1-3898621767b8@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions