]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
media: atomisp: fix switch coding style at input_system.c
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 13:17:28 +0000 (09:17 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 1 Nov 2017 16:25:39 +0000 (12:25 -0400)
Fix a switch at input_system.c that were causing smatch warnings:

drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system.c:610 rx_channel_get_state() warn: inconsistent indenting
drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system.c:616 rx_channel_get_state() warn: inconsistent indenting
drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system.c:622 rx_channel_get_state() warn: inconsistent indenting
drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system.c:610 rx_channel_get_state() warn: inconsistent indenting
drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system.c:616 rx_channel_get_state() warn: inconsistent indenting
drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system.c:622 rx_channel_get_state() warn: inconsistent indenting

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system.c

index c9af2bfc1f884f750fae8aaf4b23a066d4aa9fd9..cd2096fa75c8caa82c904f46bc384fec9b1346a5 100644 (file)
@@ -602,30 +602,30 @@ STORAGE_CLASS_INLINE void rx_channel_get_state(
        assert(state != NULL);
 
        switch (ch_id) {
-               case 0:
-                       state->comp_scheme0 = receiver_reg_load(ID,
+       case 0:
+               state->comp_scheme0 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC0_REG0_IDX);
-                       state->comp_scheme1 = receiver_reg_load(ID,
+               state->comp_scheme1 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC0_REG1_IDX);
-       break;
-               case 1:
-                       state->comp_scheme0 = receiver_reg_load(ID,
+               break;
+       case 1:
+               state->comp_scheme0 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC1_REG0_IDX);
-                       state->comp_scheme1 = receiver_reg_load(ID,
+               state->comp_scheme1 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC1_REG1_IDX);
-       break;
-               case 2:
-                       state->comp_scheme0 = receiver_reg_load(ID,
+               break;
+       case 2:
+               state->comp_scheme0 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC2_REG0_IDX);
-                       state->comp_scheme1 = receiver_reg_load(ID,
+               state->comp_scheme1 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC2_REG1_IDX);
-       break;
-               case 3:
-                       state->comp_scheme0 = receiver_reg_load(ID,
+               break;
+       case 3:
+               state->comp_scheme0 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC3_REG0_IDX);
-                       state->comp_scheme1 = receiver_reg_load(ID,
+               state->comp_scheme1 = receiver_reg_load(ID,
                                _HRT_CSS_RECEIVER_2400_COMP_SCHEME_VC3_REG1_IDX);
-       break;
+               break;
        }
 
 /* See Table 7.1.17,..., 7.1.24 */