Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>,
	David Airlie <airlied@linux.ie>, CK Hu <ck.hu@mediatek.com>,
	linux-mediatek@lists.infradead.org,
	kernel-janitors@vger.kernel.org,
	Jitao Shi <jitao.shi@mediatek.com>,
	dri-devel@lists.freedesktop.org
Subject: Re: [patch] drm/mediatek/mtk_mipi_tx: checking the wrong variable
Date: Tue, 12 Jul 2016 14:47:27 +0200	[thread overview]
Message-ID: <20160712124727.GX23520@phenom.ffwll.local> (raw)
In-Reply-To: <f665b4b4-c7b3-f07a-4185-fe551d334623@gmail.com>

On Sat, Jul 02, 2016 at 06:44:13PM +0200, Matthias Brugger wrote:
> 
> 
> On 07/01/2016 03:59 PM, Dan Carpenter wrote:
> > We should be checking "phy_provider" here not "phy".
> > 
> > Fixes: 2e54c14e310f ('drm/mediatek: Add DSI sub driver')
> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> > 
> 
> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

Applied to drm-misc, thanks.
-Daniel

> 
> > diff --git a/drivers/gpu/drm/mediatek/mtk_mipi_tx.c b/drivers/gpu/drm/mediatek/mtk_mipi_tx.c
> > index cf8f38d..1c366f8 100644
> > --- a/drivers/gpu/drm/mediatek/mtk_mipi_tx.c
> > +++ b/drivers/gpu/drm/mediatek/mtk_mipi_tx.c
> > @@ -431,7 +431,7 @@ static int mtk_mipi_tx_probe(struct platform_device *pdev)
> >  	phy_set_drvdata(phy, mipi_tx);
> > 
> >  	phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
> > -	if (IS_ERR(phy)) {
> > +	if (IS_ERR(phy_provider)) {
> >  		ret = PTR_ERR(phy_provider);
> >  		return ret;
> >  	}
> > 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

      reply	other threads:[~2016-07-12 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 13:59 [patch] drm/mediatek/mtk_mipi_tx: checking the wrong variable Dan Carpenter
2016-07-02 16:44 ` Matthias Brugger
2016-07-12 12:47   ` Daniel Vetter [this message]

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=20160712124727.GX23520@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=airlied@linux.ie \
    --cc=ck.hu@mediatek.com \
    --cc=dan.carpenter@oracle.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jitao.shi@mediatek.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox