Re: [PATCH 1/3] staging: media: max96712: fix typo

From: Dan Carpenter
Date: Mon Jan 06 2025 - 03:29:11 EST


On Thu, Dec 19, 2024 at 05:06:41PM +0200, Laurentiu Palcu wrote:
> Fix a typo in VS_LOW expression.
>
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@xxxxxxxxxxx>
> ---
> drivers/staging/media/max96712/max96712.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/max96712/max96712.c b/drivers/staging/media/max96712/max96712.c
> index 0751b2e048958..5228f9ec60859 100644
> --- a/drivers/staging/media/max96712/max96712.c
> +++ b/drivers/staging/media/max96712/max96712.c
> @@ -182,7 +182,7 @@ static void max96712_pattern_enable(struct max96712_priv *priv, bool enable)
> max96712_write_bulk_value(priv, 0x1052, 0, 3);
> max96712_write_bulk_value(priv, 0x1055, v_sw * h_tot, 3);
> max96712_write_bulk_value(priv, 0x1058,
> - (v_active + v_fp + + v_bp) * h_tot, 3);
> + (v_active + v_fp + v_bp) * h_tot, 3);

Huh. I had expected this would be a bug in some way, but it actually
works fine. #MysteriesOfC

regards,
dan carpenter