Re: [PATCH] drm/bridge: Centralize error message when bridge attach fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/04/2021 04:47, Laurent Pinchart wrote:
Being informed of a failure to attach a bridge is useful, and many
drivers prints an error message in that case. Move the message to
drm_bridge_attach() to avoid code duplication.

Suggested-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
---
  drivers/gpu/drm/bridge/analogix/analogix_dp_core.c |  9 +--------
  drivers/gpu/drm/bridge/analogix/anx7625.c          |  5 +----
  drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          |  1 -
  drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c      | 10 +---------
  drivers/gpu/drm/drm_bridge.c                       | 10 ++++++++++
  drivers/gpu/drm/exynos/exynos_dp.c                 |  5 +----
  drivers/gpu/drm/exynos/exynos_hdmi.c               |  5 +----
  drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c       |  9 +--------
  drivers/gpu/drm/imx/dcss/dcss-kms.c                |  5 +----
  drivers/gpu/drm/imx/imx-ldb.c                      |  4 +---
  drivers/gpu/drm/imx/parallel-display.c             |  5 +----
  drivers/gpu/drm/ingenic/ingenic-drm-drv.c          |  4 +---
  drivers/gpu/drm/kmb/kmb_dsi.c                      |  1 -
  drivers/gpu/drm/mcde/mcde_dsi.c                    |  9 +--------
  drivers/gpu/drm/mediatek/mtk_dpi.c                 |  4 +---
  drivers/gpu/drm/mediatek/mtk_hdmi.c                |  5 +----
  drivers/gpu/drm/omapdrm/omap_drv.c                 |  6 +-----
  drivers/gpu/drm/rockchip/rockchip_lvds.c           |  5 +----
  drivers/gpu/drm/rockchip/rockchip_rgb.c            |  5 +----
  drivers/gpu/drm/sti/sti_dvo.c                      |  4 +---
  drivers/gpu/drm/sun4i/sun4i_lvds.c                 |  4 +---
  drivers/gpu/drm/sun4i/sun4i_rgb.c                  |  4 +---
  drivers/gpu/drm/tegra/rgb.c                        |  5 +----
  drivers/gpu/drm/tidss/tidss_kms.c                  |  4 +---
  drivers/gpu/drm/tilcdc/tilcdc_external.c           |  4 +---
  drivers/gpu/drm/vc4/vc4_dsi.c                      |  4 +---
  26 files changed, 33 insertions(+), 103 deletions(-)

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>

 Tomi




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux