mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 17:27:11 -04:00
media: atomisp: Fix line continuation style issue in sh_css.c
Fix logical continuation style issue and adjacent line splits. Link: https://lore.kernel.org/linux-media/20210508235622.300394-5-vrzh@vrzh.net Signed-off-by: Martiros Shakhzadyan <vrzh@vrzh.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
00ba215607
commit
6b6d228313
@@ -3224,24 +3224,22 @@ init_vf_frameinfo_defaults(struct ia_css_pipe *pipe,
|
||||
|
||||
#ifdef ISP2401
|
||||
static unsigned int
|
||||
get_crop_lines_for_bayer_order(
|
||||
const struct ia_css_stream_config *config)
|
||||
get_crop_lines_for_bayer_order(const struct ia_css_stream_config *config)
|
||||
{
|
||||
assert(config);
|
||||
if ((config->input_config.bayer_order == IA_CSS_BAYER_ORDER_BGGR)
|
||||
|| (config->input_config.bayer_order == IA_CSS_BAYER_ORDER_GBRG))
|
||||
if ((config->input_config.bayer_order == IA_CSS_BAYER_ORDER_BGGR) ||
|
||||
(config->input_config.bayer_order == IA_CSS_BAYER_ORDER_GBRG))
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
get_crop_columns_for_bayer_order(
|
||||
const struct ia_css_stream_config *config)
|
||||
get_crop_columns_for_bayer_order(const struct ia_css_stream_config *config)
|
||||
{
|
||||
assert(config);
|
||||
if ((config->input_config.bayer_order == IA_CSS_BAYER_ORDER_RGGB)
|
||||
|| (config->input_config.bayer_order == IA_CSS_BAYER_ORDER_GBRG))
|
||||
if ((config->input_config.bayer_order == IA_CSS_BAYER_ORDER_RGGB) ||
|
||||
(config->input_config.bayer_order == IA_CSS_BAYER_ORDER_GBRG))
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user