From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Stefan Agner <stefan@agner.ch>, Alison Wang <alison.wang@nxp.com>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm: fsl-dcu: Use dev_err_probe
Date: Thu, 16 Mar 2023 10:35:33 +0100 [thread overview]
Message-ID: <6449736.GXAFRqVoOG@steina-w> (raw)
In-Reply-To: <2275894.ElGaqSPkdT@steina-w>
Hi,
this series is uncommented for some time now. Any feedback?
Thanks,
Alexander
Am Montag, 13. Februar 2023, 09:24:33 CET schrieb Alexander Stein:
> Hi,
>
> any feedback on this series?
>
> Best regards,
> Alexander
>
> Am Dienstag, 17. Januar 2023, 12:08:00 CET schrieb Alexander Stein:
> > fsl_dcu_drm_modeset_init can return -EPROBE_DEFER, so use dev_err_probe
> > to remove an invalid error message and add it to deferral description.
> >
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> > ---
> >
> > drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 6 ++----
> > 1 file changed, 2 insertions(+), 4 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
> > b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c index
> > 8579c7629f5e..418887654bac 100644
> > --- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
> > +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
> > @@ -103,10 +103,8 @@ static int fsl_dcu_load(struct drm_device *dev,
> > unsigned long flags) int ret;
> >
> > ret = fsl_dcu_drm_modeset_init(fsl_dev);
> >
> > - if (ret < 0) {
> > - dev_err(dev->dev, "failed to initialize mode setting\n");
> > - return ret;
> > - }
> > + if (ret < 0)
> > + return dev_err_probe(dev->dev, ret, "failed to initialize
>
> mode
>
> > setting\n");
> >
> > ret = drm_vblank_init(dev, dev->mode_config.num_crtc);
> > if (ret < 0) {
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
next prev parent reply other threads:[~2023-03-16 9:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-17 11:08 [PATCH 1/2] drm: fsl-dcu: Use dev_err_probe Alexander Stein
2023-01-17 11:08 ` [PATCH 2/2] drm: fsl-dcu: enable PIXCLK on LS1021A Alexander Stein
2023-02-06 13:33 ` Alexander Stein
2023-02-13 8:24 ` [PATCH 1/2] drm: fsl-dcu: Use dev_err_probe Alexander Stein
2023-03-16 9:35 ` Alexander Stein [this message]
2023-05-09 12:51 ` Alexander Stein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6449736.GXAFRqVoOG@steina-w \
--to=alexander.stein@ew.tq-group.com \
--cc=airlied@gmail.com \
--cc=alison.wang@nxp.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=stefan@agner.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.