All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: adrien.grassein@gmail.com
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [bug report] drm/bridge: Introduce LT8912B DSI to HDMI bridge
Date: Wed, 31 Mar 2021 11:14:38 +0300	[thread overview]
Message-ID: <20210331081438.GF2088@kadam> (raw)
In-Reply-To: <YGQu9uZ/d5ph+eS9@mwanda>

On Wed, Mar 31, 2021 at 11:12:38AM +0300, Dan Carpenter wrote:
>    644          of_node_put(endpoint);
>    645  
>    646          lt->host_node = of_graph_get_remote_node(dev->of_node, 0, -1);
>    647          if (!lt->host_node) {
>    648                  dev_err(lt->dev, "%s: Failed to get remote port\n", __func__);
>    649                  ret = -ENODEV;
>    650                  goto end;
>    651          }
>    652  
>    653          port_node = of_graph_get_remote_node(dev->of_node, 1, -1);
>    654          if (!port_node) {
>    655                  dev_err(lt->dev, "%s: Failed to get connector port\n", __func__);
>    656                  ret = -ENODEV;
>    657                  goto err_free_host_node;
>    658          }
>    659  
>    660          lt->hdmi_port = of_drm_find_bridge(port_node);
>    661          if (IS_ERR(lt->hdmi_port)) {

This isn't an error pointer either.  of_drm_find_bridge() returns NULL.

regards,
dan carpenter


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2021-03-31  8:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31  8:12 [bug report] drm/bridge: Introduce LT8912B DSI to HDMI bridge Dan Carpenter
2021-03-31  8:14 ` Dan Carpenter [this message]
2021-03-31  9:17   ` Adrien Grassein
2021-03-31  9:27     ` Dan Carpenter
2021-03-31  9:29       ` Adrien Grassein

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=20210331081438.GF2088@kadam \
    --to=dan.carpenter@oracle.com \
    --cc=adrien.grassein@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /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.