mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Cc: laurent.pinchart@ideasonboard.com, jagan@amarulasolutions.com,
	jonas@kwiboo.se, airlied@linux.ie,
	dri-devel@lists.freedesktop.org, narmstrong@baylibre.com,
	linux-kernel@vger.kernel.org, jernej.skrabec@gmail.com,
	robert.foss@linaro.org, andrzej.hajda@intel.com,
	alsi@bang-olufsen.dk, biju.das.jz@bp.renesas.com,
	maxime@cerno.tech
Subject: Re: [PATCH v2] drm: bridge: adv7511: Add check for mipi_dsi_driver_register
Date: Fri, 24 Jun 2022 22:33:30 +0200	[thread overview]
Message-ID: <YrYfmqJbRmGWh0qw@ravnborg.org> (raw)
In-Reply-To: <20220602103401.2980938-1-jiasheng@iscas.ac.cn>

On Thu, Jun 02, 2022 at 06:34:01PM +0800, Jiasheng Jiang wrote:
> As mipi_dsi_driver_register could return error if fails,
> it should be better to check the return value and return error
> if fails.
> Moreover, if i2c_add_driver fails,  mipi_dsi_driver_register
> should be reverted.
> 
> Fixes: 1e4d58cd7f88 ("drm/bridge: adv7533: Create a MIPI DSI device")
> Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>

Thanks, added to drm-misc (added to drm-misc-next as this did not look
like something that required fast forward to mainline).

	Sam

      parent reply	other threads:[~2022-06-24 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02 10:34 Jiasheng Jiang
2022-06-02 14:20 ` Laurent Pinchart
2022-06-24 20:33 ` Sam Ravnborg [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=YrYfmqJbRmGWh0qw@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=airlied@linux.ie \
    --cc=alsi@bang-olufsen.dk \
    --cc=andrzej.hajda@intel.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jagan@amarulasolutions.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jiasheng@iscas.ac.cn \
    --cc=jonas@kwiboo.se \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime@cerno.tech \
    --cc=narmstrong@baylibre.com \
    --cc=robert.foss@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®