Re: [PATCH v2] staging: media: ipu3: Fix AWB x_start position when rightmost stripe is used

From: Dan Carpenter
Date: Thu Apr 07 2022 - 07:52:11 EST


On Thu, Apr 07, 2022 at 06:57:24PM +0800, Kate Hsuan wrote:
> A not calibrated x_start setting would result in an incorrect AWB location
> configuration on a sensor when only the rightmost stripe is used. x_start
> should be calibrated by subtracting the stripe offset to set the coordinate
> to the correct position on the second stripe.
>

I wish the commit description said more about what the bug looks like to
the user. This is the front facing camera, right? Is part of the video
blank or what's the deal?

> Signed-off-by: Kate Hsuan <hpa@xxxxxxxxxx>
> ---
> Correct the patch. The correction should be awb, not awb_fr.

I tried to review the original patch and it was impossible. I saw
you're from an @redhat.com email address so I decided it must be right.

I kind of get that you need to be a domain expert to review these
patches but this function is such a mess...

regards,
dan carpenter