Message ID | 20190308235702.27057-2-niklas.soderlund+renesas@ragnatech.se (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | rcar-csi2: Update start procedures to latest revision of datasheet | expand |
Hi Niklas, Thank you for the patch. On Sat, Mar 09, 2019 at 12:57:00AM +0100, Niklas Söderlund wrote: > The latest datasheet (rev 1.50) updates the start procedure for V3M and > E3. Update the driver to match these changes. > > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> > Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu> This matches the datasheet, so Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > --- > drivers/media/platform/rcar-vin/rcar-csi2.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c > index d9b29dbbcc2949de..6be81d4839f35a0e 100644 > --- a/drivers/media/platform/rcar-vin/rcar-csi2.c > +++ b/drivers/media/platform/rcar-vin/rcar-csi2.c > @@ -922,11 +922,11 @@ static int rcsi2_init_phtw_v3m_e3(struct rcar_csi2 *priv, unsigned int mbps) > static int rcsi2_confirm_start_v3m_e3(struct rcar_csi2 *priv) > { > static const struct phtw_value step1[] = { > - { .data = 0xed, .code = 0x34 }, > - { .data = 0xed, .code = 0x44 }, > - { .data = 0xed, .code = 0x54 }, > - { .data = 0xed, .code = 0x84 }, > - { .data = 0xed, .code = 0x94 }, > + { .data = 0xee, .code = 0x34 }, > + { .data = 0xee, .code = 0x44 }, > + { .data = 0xee, .code = 0x54 }, > + { .data = 0xee, .code = 0x84 }, > + { .data = 0xee, .code = 0x94 }, > { /* sentinel */ }, > }; >
diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c index d9b29dbbcc2949de..6be81d4839f35a0e 100644 --- a/drivers/media/platform/rcar-vin/rcar-csi2.c +++ b/drivers/media/platform/rcar-vin/rcar-csi2.c @@ -922,11 +922,11 @@ static int rcsi2_init_phtw_v3m_e3(struct rcar_csi2 *priv, unsigned int mbps) static int rcsi2_confirm_start_v3m_e3(struct rcar_csi2 *priv) { static const struct phtw_value step1[] = { - { .data = 0xed, .code = 0x34 }, - { .data = 0xed, .code = 0x44 }, - { .data = 0xed, .code = 0x54 }, - { .data = 0xed, .code = 0x84 }, - { .data = 0xed, .code = 0x94 }, + { .data = 0xee, .code = 0x34 }, + { .data = 0xee, .code = 0x44 }, + { .data = 0xee, .code = 0x54 }, + { .data = 0xee, .code = 0x84 }, + { .data = 0xee, .code = 0x94 }, { /* sentinel */ }, };