lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+V-a8vY8pV8L2_JHM-AE=3h03arEtmxVhW_vh6r17pb2X3obA@mail.gmail.com>
Date:   Fri, 27 Sep 2019 21:36:41 +0100
From:   "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To:     Benoit Parrot <bparrot@...com>
Cc:     Hans Verkuil <hverkuil@...all.nl>,
        Sakari Ailus <sakari.ailus@...ux.intel.com>,
        linux-media <linux-media@...r.kernel.org>,
        devicetree@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [Patch v4 7/8] media: i2c: ov2659: Fix missing 720p register config

On Fri, Sep 27, 2019 at 7:47 PM Benoit Parrot <bparrot@...com> wrote:
>
> The initial registers sequence is only loaded at probe
> time. Afterward only the resolution and format specific
> register are modified. Care must be taken to make sure
> registers modified by one resolution setting are reverted
> back when another resolution is programmed.
>
> This was not done properly for the 720p case.
>
> Signed-off-by: Benoit Parrot <bparrot@...com>
> ---
>  drivers/media/i2c/ov2659.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
Acked-by: Lad, Prabhakar <prabhakar.csengg@...il.com>

Cheers,
--Prabhakar Lad

> diff --git a/drivers/media/i2c/ov2659.c b/drivers/media/i2c/ov2659.c
> index 7d0baa386644..720310e0725d 100644
> --- a/drivers/media/i2c/ov2659.c
> +++ b/drivers/media/i2c/ov2659.c
> @@ -412,10 +412,14 @@ static struct sensor_register ov2659_720p[] = {
>         { REG_TIMING_YINC, 0x11 },
>         { REG_TIMING_VERT_FORMAT, 0x80 },
>         { REG_TIMING_HORIZ_FORMAT, 0x00 },
> +       { 0x370a, 0x12 },
>         { 0x3a03, 0xe8 },
>         { 0x3a09, 0x6f },
>         { 0x3a0b, 0x5d },
>         { 0x3a15, 0x9a },
> +       { REG_VFIFO_READ_START_H, 0x00 },
> +       { REG_VFIFO_READ_START_L, 0x80 },
> +       { REG_ISP_CTRL02, 0x00 },
>         { REG_NULL, 0x00 },
>  };
>
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ