media: staging/intel-ipu3: css: Convert comma to semicolon
authorShen Lichuan <shenlichuan@vivo.com>
Fri, 20 Sep 2024 02:17:16 +0000 (10:17 +0800)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:37 +0000 (09:32 +0200)
The return of function imgu_css_grid_end_calc is void.

To ensure code clarity and prevent potential errors, it's advisable
to employ the ';' as a statement separator, except when ',' are
intentionally used for specific purposes.

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/ipu3/ipu3-css-params.c

index 34f574b0b5216c55fa9d6693fe58b0bbff94e759..69e00f493288748816ff0a1e74fb5c26e3b46186 100644 (file)
@@ -2626,7 +2626,7 @@ int imgu_css_cfg_acc(struct imgu_css *css, unsigned int pipe,
                return -EINVAL;
 
        acc->awb.config.grid.height_per_slice =
-               IMGU_ABI_AWB_MAX_CELLS_PER_SET / acc->awb.config.grid.width,
+               IMGU_ABI_AWB_MAX_CELLS_PER_SET / acc->awb.config.grid.width;
        imgu_css_grid_end_calc(&acc->awb.config.grid);
 
        for (i = 0; i < stripes; i++)