Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-15 Thread Guido Günther
Hi Sam, On Thu, Oct 14, 2021 at 09:35:20PM +0200, Sam Ravnborg wrote: > Hi Guido, > > > > > > > > > + if (ret != -EPROBE_DEFER) { > > > > #ifdef CONFIG_OF > > > > - DRM_ERROR("failed to attach bridge %pOF to encoder %s: %d\n", > > > > - bridge->of_node, encoder->name

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-14 Thread Sam Ravnborg
Hi Guido, > > > > > > + if (ret != -EPROBE_DEFER) { > > > #ifdef CONFIG_OF > > > - DRM_ERROR("failed to attach bridge %pOF to encoder %s: %d\n", > > > - bridge->of_node, encoder->name, ret); > > > + DRM_ERROR("failed to attach bridge %pOF to encoder %s: %d\n", > > > +

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-13 Thread Guido Günther
Hi, On Wed, Oct 13, 2021 at 08:48:32AM +0200, Andrzej Hajda wrote: > On 12.10.2021 22:47, Guido Günther wrote: > > Hi Laurent, > > On Tue, Oct 12, 2021 at 11:17:07PM +0300, Laurent Pinchart wrote: > > > Hi Guido, > > > > > > Thank you for the patch. > > > > > > On Tue, Oct 12, 2021 at 09:58:58PM

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-12 Thread Andrzej Hajda
On 12.10.2021 22:47, Guido Günther wrote: Hi Laurent, On Tue, Oct 12, 2021 at 11:17:07PM +0300, Laurent Pinchart wrote: Hi Guido, Thank you for the patch. On Tue, Oct 12, 2021 at 09:58:58PM +0200, Guido Günther wrote: Otherwise logs are filled with [drm:drm_bridge_attach] *ERROR* failed t

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-12 Thread Guido Günther
Hi, On Tue, Oct 12, 2021 at 10:47:14PM +0200, Guido Günther wrote: > Hi Laurent, > On Tue, Oct 12, 2021 at 11:17:07PM +0300, Laurent Pinchart wrote: > > Hi Guido, > > > > Thank you for the patch. > > > > On Tue, Oct 12, 2021 at 09:58:58PM +0200, Guido Günther wrote: > > > Otherwise logs are fille

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-12 Thread Guido Günther
Hi Laurent, On Tue, Oct 12, 2021 at 11:17:07PM +0300, Laurent Pinchart wrote: > Hi Guido, > > Thank you for the patch. > > On Tue, Oct 12, 2021 at 09:58:58PM +0200, Guido Günther wrote: > > Otherwise logs are filled with > > > > [drm:drm_bridge_attach] *ERROR* failed to attach bridge > > /soc

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-12 Thread Guido Günther
Hi, On Tue, Oct 12, 2021 at 10:08:28PM +0200, Sam Ravnborg wrote: > Hi Guido, > > On Tue, Oct 12, 2021 at 09:58:58PM +0200, Guido Günther wrote: > > Otherwise logs are filled with > > > > [drm:drm_bridge_attach] *ERROR* failed to attach bridge > > /soc@0/bus@3080/mipi-dsi@30a0 to enco

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-12 Thread Laurent Pinchart
Hi Guido, Thank you for the patch. On Tue, Oct 12, 2021 at 09:58:58PM +0200, Guido Günther wrote: > Otherwise logs are filled with > > [drm:drm_bridge_attach] *ERROR* failed to attach bridge > /soc@0/bus@3080/mipi-dsi@30a0 to encoder None-34: -517 > > when the bridge isn't ready yet

Re: [PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-12 Thread Sam Ravnborg
Hi Guido, On Tue, Oct 12, 2021 at 09:58:58PM +0200, Guido Günther wrote: > Otherwise logs are filled with > > [drm:drm_bridge_attach] *ERROR* failed to attach bridge > /soc@0/bus@3080/mipi-dsi@30a0 to encoder None-34: -517 > > when the bridge isn't ready yet. > > Fixes: fb8d617f8fd6

[PATCH] drm/bridge: Ignore -EPROBE_DEFER when bridge attach fails

2021-10-12 Thread Guido Günther
Otherwise logs are filled with [drm:drm_bridge_attach] *ERROR* failed to attach bridge /soc@0/bus@3080/mipi-dsi@30a0 to encoder None-34: -517 when the bridge isn't ready yet. Fixes: fb8d617f8fd6 ("drm/bridge: Centralize error message when bridge attach fails") Signed-off-by: Guido G