From: Sakari Ailus <sakari.ailus@iki.fi>
To: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Cc: linux-media@vger.kernel.org, sakari.ailus@linux.intel.com,
jian.xu.zheng@intel.com, rajmohan.mani@intel.com,
hyungwoo.yang@intel.com
Subject: Re: [PATCH v5 1/1] i2c: Add Omnivision OV5670 5M sensor support
Date: Fri, 14 Jul 2017 13:43:01 +0300 [thread overview]
Message-ID: <20170714104301.bbzd2xqgymhkwocr@valkosipuli.retiisi.org.uk> (raw)
In-Reply-To: <2b5e2ec73d2a5976a3c56dd35d90ca681f803ce0.1499996475.git.chiranjeevi.rapolu@intel.com>
Hi Chiranjeevi,
On Thu, Jul 13, 2017 at 06:51:27PM -0700, Chiranjeevi Rapolu wrote:
> Provides single source pad with up to 2592x1944 pixels at 10-bit raw
> bayer format over MIPI CSI2 two lanes at 840Mbps/lane.
> The driver supports following features:
> - up to 30fps at 5M pixels
> - manual exposure
> - digital/analog gain
> - V-blank/H-blank
> - test pattern
> - media controller
> - runtime pm
>
> Signed-off-by: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Thanks, applied with the following change:
diff --git a/drivers/media/i2c/ov5670.c b/drivers/media/i2c/ov5670.c
index 909095ac90a2..7de80645dd6f 100644
--- a/drivers/media/i2c/ov5670.c
+++ b/drivers/media/i2c/ov5670.c
@@ -2060,7 +2060,8 @@ static int ov5670_init_controls(struct ov5670 *ov5670)
&ov5670_ctrl_ops,
V4L2_CID_LINK_FREQ,
0, 0, link_freq_menu_items);
- ov5670->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
+ if (ov5670->link_freq)
+ ov5670->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;
/* By default, V4L2_CID_PIXEL_RATE is read only */
ov5670->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, &ov5670_ctrl_ops,
v4l2_ctrl_new_std() may return NULL, you always need to check for that if
you're using the returned result.
--
Regards,
Sakari Ailus
e-mail: sakari.ailus@iki.fi XMPP: sailus@retiisi.org.uk
next prev parent reply other threads:[~2017-07-14 10:43 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-03 22:06 [PATCH] ov5670: Add Omnivision OV5670 5M sensor support Chiranjeevi Rapolu
2017-05-04 8:48 ` Sakari Ailus
2017-05-04 8:50 ` Sakari Ailus
2017-05-26 1:21 ` Rapolu, Chiranjeevi
2017-05-26 1:19 ` Rapolu, Chiranjeevi
2017-05-26 8:29 ` Sakari Ailus
2017-06-14 18:27 ` Rapolu, Chiranjeevi
2017-05-25 22:42 ` [PATCH v2 1/1] [media] i2c: " chiranjeevi.rapolu
2017-05-26 6:42 ` kbuild test robot
2017-06-14 1:39 ` [PATCH v3 1/1] " chiranjeevi.rapolu
2017-06-14 13:47 ` [PATCH] i2c: fix platform_no_drv_owner.cocci warnings kbuild test robot
2017-06-14 13:47 ` [PATCH v3 1/1] i2c: Add Omnivision OV5670 5M sensor support kbuild test robot
2017-06-14 13:47 ` [PATCH] i2c: fix semicolon.cocci warnings kbuild test robot
2017-06-14 23:00 ` [PATCH v3 1/1] i2c: Add Omnivision OV5670 5M sensor support Sakari Ailus
2017-07-01 22:31 ` Rapolu, Chiranjeevi
2017-07-01 20:49 ` [PATCH v4 " chiranjeevi.rapolu
2017-07-07 22:24 ` Sakari Ailus
2017-07-14 4:35 ` Rapolu, Chiranjeevi
2017-07-07 22:48 ` Mani, Rajmohan
2017-07-14 4:36 ` Rapolu, Chiranjeevi
2017-07-14 1:51 ` [PATCH v5 " Chiranjeevi Rapolu
2017-07-14 10:43 ` Sakari Ailus [this message]
2021-07-08 8:10 ` Laurent Pinchart
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=20170714104301.bbzd2xqgymhkwocr@valkosipuli.retiisi.org.uk \
--to=sakari.ailus@iki.fi \
--cc=chiranjeevi.rapolu@intel.com \
--cc=hyungwoo.yang@intel.com \
--cc=jian.xu.zheng@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=rajmohan.mani@intel.com \
--cc=sakari.ailus@linux.intel.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 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.