From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 1/1] omap3isp: Handle omap3isp_csi2_reset() errors
Date: Fri, 02 Mar 2012 19:14:09 +0100 [thread overview]
Message-ID: <3075998.ASxH1WVGZz@avalon> (raw)
In-Reply-To: <1330704181-31718-1-git-send-email-sakari.ailus@iki.fi>
Hi Sakari,
Thanks for the patch.
On Friday 02 March 2012 18:03:01 Sakari Ailus wrote:
> Handle errors from omap3isp_csi2_reset() in omap3isp_csiphy_acquire().
>
> Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Applied to my tree with fuzz fixed (as the patch is based on top of your
SMIA++ patches).
> ---
> drivers/media/video/omap3isp/ispcsiphy.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/video/omap3isp/ispcsiphy.c
> b/drivers/media/video/omap3isp/ispcsiphy.c index 902477d..a53f457 100644
> --- a/drivers/media/video/omap3isp/ispcsiphy.c
> +++ b/drivers/media/video/omap3isp/ispcsiphy.c
> @@ -213,7 +213,9 @@ int omap3isp_csiphy_acquire(struct isp_csiphy *phy)
> if (rval < 0)
> goto done;
>
> - omap3isp_csi2_reset(phy->csi2);
> + rval = omap3isp_csi2_reset(phy->csi2);
> + if (rval < 0)
> + goto done;
>
> rval = omap3isp_csiphy_config(phy);
> if (rval < 0)
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2012-03-02 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 16:03 [PATCH 1/1] omap3isp: Handle omap3isp_csi2_reset() errors Sakari Ailus
2012-03-02 18:14 ` Laurent Pinchart [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=3075998.ASxH1WVGZz@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@iki.fi \
/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.