Re: [PATCH 2/5] drm/bridge/synopsys: dw-hdmi: Add "unwedge" for ddc bus

From: Sean Paul
Date: Wed May 15 2019 - 14:44:43 EST


On Wed, May 15, 2019 at 11:36:33AM -0700, Doug Anderson wrote:
> Hi,
>
> On Wed, May 15, 2019 at 11:20 AM Sean Paul <sean@xxxxxxxxxx> wrote:
>
> > > + if (IS_ERR(hdmi->default_state) &&
> > > + !IS_ERR(hdmi->unwedge_state)) {
> > > + dev_warn(dev,
> > > + "Unwedge requires default pinctrl\n");
> >
> > Can you downgrade this message to info or dbg? Given how rare this issue is, we
> > probably don't want to spam everyone who is happily using dw-hdmi.
>
> I don't think it will spam anyone, will it? It will only spam if you
> _do_ specify an unwedge state and you _don't_ specify a default state.
> This seems like something you'd want a pretty serious warning about
> because it meant that you wanted to use unwedge but you didn't specify
> it properly.
>

That'll teach me for skimming, you're right on, thanks for the correction!

>
> > Reviewed-by: Sean Paul <sean@xxxxxxxxxx>
>
> Thanks!
>
> -Doug

--
Sean Paul, Software Engineer, Google / Chromium OS