diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2024-04-16 00:49:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-30 10:49:40 +0300 |
commit | e6f9971355f85f64c7a7e66caa80d1f36e984e13 (patch) | |
tree | 76b834f594f77f9524a5a780274b918844ef9844 /drivers/gpu/drm/panel/panel-novatek-nt35950.c | |
parent | 702d7acee4457a5cd4340c3bd862e29b78ee4590 (diff) | |
download | linux-e6f9971355f85f64c7a7e66caa80d1f36e984e13.tar.xz |
drm/bridge: dpc3433: Don't log an error when DSI host can't be found
[ Upstream commit 24f4f575214de776539d346b99b8717bffa8ebba ]
Given that failing to find a DSI host causes the driver to defer probe,
make use of dev_err_probe() to log the reason. This makes the defer
probe reason available and avoids alerting userspace about something
that is not necessarily an error.
Also move the "failed to attach" error message so that it's only printed
when the devm_mipi_dsi_attach() call fails.
Fixes: 6352cd451ddb ("drm: bridge: Add TI DLPC3433 DSI to DMD bridge")
Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240415-anx7625-defer-log-no-dsi-host-v3-7-619a28148e5c@collabora.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/panel/panel-novatek-nt35950.c')
0 files changed, 0 insertions, 0 deletions