OSDN Git Service

media: atomisp: convert comma to semicolon
authorZheng Yongjun <zhengyongjun3@huawei.com>
Fri, 8 Jan 2021 09:21:35 +0000 (10:21 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 14 Jan 2021 12:59:46 +0000 (13:59 +0100)
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css_params.c

index 24fc497..9fad28b 100644 (file)
@@ -949,7 +949,7 @@ sh_css_set_black_frame(struct ia_css_stream *stream,
 
        params = stream->isp_params_configs;
        height = raw_black_frame->info.res.height;
-       width = raw_black_frame->info.padded_width,
+       width = raw_black_frame->info.padded_width;
 
        ptr = raw_black_frame->data
        + raw_black_frame->planes.raw.offset;
@@ -1442,8 +1442,8 @@ static int sh_css_params_default_morph_table(
 
        IA_CSS_ENTER_PRIVATE("");
 
-       step = (ISP_VEC_NELEMS / 16) * 128,
-       width = binary->morph_tbl_width,
+       step = (ISP_VEC_NELEMS / 16) * 128;
+       width = binary->morph_tbl_width;
        height = binary->morph_tbl_height;
 
        tab = ia_css_morph_table_allocate(width, height);