media: atomisp: Fix sh_css_config_input_network_2400() coding style
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 Apr 2024 09:19:52 +0000 (10:19 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 10:06:25 +0000 (11:06 +0100)
commit19b372d95a5b08da53ed262a45b501029acd44fd
treeda03f841fabf9db6307a1afe7937179572ea3ac4
parent7a0848d9818c5a00a3c252f1077e142fadcba8db
media: atomisp: Fix sh_css_config_input_network_2400() coding style

Fix the if (stream->config.mode == IA_CSS_INPUT_MODE_PRBS) {} block
coding style. Specifically fix the weird declaration of variables split
over multiple lines.

While at it also split the multi-line width calculation at a more
logical place.

Reported-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/sh_css.c