drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:488:7: warning: variable 'port_enabled' set but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mauro,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   303392fd5c160822bf778270b28ec5ea50cab2b4
commit: 5b552b198c2557295becd471bff53bb520fefee5 media: atomisp: re-enable warnings again
date:   1 year, 1 month ago
config: x86_64-buildonly-randconfig-r001-20210705 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b552b198c2557295becd471bff53bb520fefee5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 5b552b198c2557295becd471bff53bb520fefee5
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   cc1: warning: drivers/staging/media/atomisp//pci/hive_isp_css_include/memory_access/: No such file or directory [-Wmissing-include-dirs]
   drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c: In function 'ia_css_isys_rx_configure':
>> drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:488:7: warning: variable 'port_enabled' set but not used [-Wunused-but-set-variable]
     488 |  bool port_enabled[N_MIPI_PORT_ID];
         |       ^~~~~~~~~~~~
   In file included from drivers/staging/media/atomisp//pci/hive_isp_css_include/input_formatter.h:34,
                    from drivers/staging/media/atomisp//pci/sh_css_internal.h:26,
                    from drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:21:
   At top level:
   drivers/staging/media/atomisp//pci/hive_isp_css_common/host/input_formatter_local.h:118:27: warning: 'input_formatter_alignment' defined but not used [-Wunused-const-variable=]
     118 | static const unsigned int input_formatter_alignment[N_INPUT_FORMATTER_ID] = {
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/staging/media/atomisp//pci/input_system_local.h:10,
                    from drivers/staging/media/atomisp//pci/hive_isp_css_include/input_system.h:34,
                    from drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:17:
   drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:380:19: warning: 'MIPI_PORT_ACTIVE' defined but not used [-Wunused-const-variable=]
     380 | static const bool MIPI_PORT_ACTIVE[N_RX_MODE][N_MIPI_PORT_ID] = {
         |                   ^~~~~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_input_system_local.h:374:30: warning: 'MIPI_PORT_MAXLANES' defined but not used [-Wunused-const-variable=]
     374 | static const mipi_lane_cfg_t MIPI_PORT_MAXLANES[N_MIPI_PORT_ID] = {
         |                              ^~~~~~~~~~~~~~~~~~
   In file included from drivers/staging/media/atomisp//pci/system_local.h:10,
                    from drivers/staging/media/atomisp//pci/hive_isp_css_include/input_system.h:33,
                    from drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c:17:
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:155:26: warning: 'INPUT_FORMATTER_BASE' defined but not used [-Wunused-const-variable=]
     155 | static const hrt_address INPUT_FORMATTER_BASE[N_INPUT_FORMATTER_ID] = {
         |                          ^~~~~~~~~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:150:26: warning: 'TIMED_CTRL_BASE' defined but not used [-Wunused-const-variable=]
     150 | static const hrt_address TIMED_CTRL_BASE[N_TIMED_CTRL_ID] = {
         |                          ^~~~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:145:26: warning: 'GPIO_BASE' defined but not used [-Wunused-const-variable=]
     145 | static const hrt_address GPIO_BASE[N_GPIO_ID] = {
         |                          ^~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:142:26: warning: 'GP_TIMER_BASE' defined but not used [-Wunused-const-variable=]
     142 | static const hrt_address GP_TIMER_BASE =
         |                          ^~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:135:26: warning: 'GP_DEVICE_BASE' defined but not used [-Wunused-const-variable=]
     135 | static const hrt_address GP_DEVICE_BASE[N_GP_DEVICE_ID] = {
         |                          ^~~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:122:26: warning: 'FIFO_MONITOR_BASE' defined but not used [-Wunused-const-variable=]
     122 | static const hrt_address FIFO_MONITOR_BASE[N_FIFO_MONITOR_ID] = {
         |                          ^~~~~~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:116:26: warning: 'GDC_BASE' defined but not used [-Wunused-const-variable=]
     116 | static const hrt_address GDC_BASE[N_GDC_ID] = {
         |                          ^~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:104:26: warning: 'IRQ_BASE' defined but not used [-Wunused-const-variable=]
     104 | static const hrt_address IRQ_BASE[N_IRQ_ID] = {
         |                          ^~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:99:26: warning: 'DMA_BASE' defined but not used [-Wunused-const-variable=]
      99 | static const hrt_address DMA_BASE[N_DMA_ID] = {
         |                          ^~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:90:26: warning: 'MMU_BASE' defined but not used [-Wunused-const-variable=]
      90 | static const hrt_address MMU_BASE[N_MMU_ID] = {
         |                          ^~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:80:26: warning: 'SP_PMEM_BASE' defined but not used [-Wunused-const-variable=]
      80 | static const hrt_address SP_PMEM_BASE[N_SP_ID] = {
         |                          ^~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:76:26: warning: 'SP_DMEM_BASE' defined but not used [-Wunused-const-variable=]
      76 | static const hrt_address SP_DMEM_BASE[N_SP_ID] = {
         |                          ^~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:72:26: warning: 'SP_CTRL_BASE' defined but not used [-Wunused-const-variable=]
      72 | static const hrt_address SP_CTRL_BASE[N_SP_ID] = {
         |                          ^~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:67:26: warning: 'ISP_HMEM_BASE' defined but not used [-Wunused-const-variable=]
      67 | static const hrt_address ISP_HMEM_BASE[N_HMEM_ID] = {
         |                          ^~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:61:26: warning: 'ISP_VAMEM_BASE' defined but not used [-Wunused-const-variable=]
      61 | static const hrt_address ISP_VAMEM_BASE[N_VAMEM_ID] = {
         |                          ^~~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:57:26: warning: 'ISP_BAMEM_BASE' defined but not used [-Wunused-const-variable=]
      57 | static const hrt_address ISP_BAMEM_BASE[N_BAMEM_ID] = {
         |                          ^~~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:53:26: warning: 'ISP_DMEM_BASE' defined but not used [-Wunused-const-variable=]
      53 | static const hrt_address ISP_DMEM_BASE[N_ISP_ID] = {
         |                          ^~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:49:26: warning: 'ISP_CTRL_BASE' defined but not used [-Wunused-const-variable=]
      49 | static const hrt_address ISP_CTRL_BASE[N_ISP_ID] = {
         |                          ^~~~~~~~~~~~~
   drivers/staging/media/atomisp//pci/isp2400_system_local.h:44:26: warning: 'DDR_BASE' defined but not used [-Wunused-const-variable=]
      44 | static const hrt_address DDR_BASE[N_DDR_ID] = {
         |                          ^~~~~~~~


vim +/port_enabled +488 drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c

ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  482  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  483  #if !defined(USE_INPUT_SYSTEM_VERSION_2401)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  484  void ia_css_isys_rx_configure(const rx_cfg_t *config,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  485  			      const enum ia_css_input_mode input_mode)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  486  {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  487  #if defined(HAS_RX_VERSION_2)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19 @488  	bool port_enabled[N_MIPI_PORT_ID];
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  489  	bool any_port_enabled = false;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  490  	enum mipi_port_id port;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  491  
bdfe0beb95eebc drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  492  	if ((!config)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  493  	    || (config->mode >= N_RX_MODE)
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  494  	    || (config->port >= N_MIPI_PORT_ID)) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  495  		assert(0);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  496  		return;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  497  	}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  498  	for (port = (enum mipi_port_id)0; port < N_MIPI_PORT_ID; port++) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  499  		if (is_receiver_port_enabled(RX0_ID, port))
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  500  			any_port_enabled = true;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  501  	}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  502  	/* AM: Check whether this is a problem with multiple
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  503  	 * streams. MS: This is the case. */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  504  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  505  	port = config->port;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  506  	receiver_port_enable(RX0_ID, port, false);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  507  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  508  	port = config->port;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  509  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  510  	/* AM: Check whether this is a problem with multiple streams. */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  511  	if (MIPI_PORT_LANES[config->mode][port] != MIPI_0LANE_CFG) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  512  		receiver_port_reg_store(RX0_ID, port,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  513  					_HRT_CSS_RECEIVER_FUNC_PROG_REG_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  514  					config->timeout);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  515  		receiver_port_reg_store(RX0_ID, port,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  516  					_HRT_CSS_RECEIVER_2400_INIT_COUNT_REG_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  517  					config->initcount);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  518  		receiver_port_reg_store(RX0_ID, port,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  519  					_HRT_CSS_RECEIVER_2400_SYNC_COUNT_REG_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  520  					config->synccount);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  521  		receiver_port_reg_store(RX0_ID, port,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  522  					_HRT_CSS_RECEIVER_2400_RX_COUNT_REG_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  523  					config->rxcount);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  524  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  525  		port_enabled[port] = true;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  526  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  527  		if (input_mode != IA_CSS_INPUT_MODE_BUFFERED_SENSOR) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  528  			/* MW: A bit of a hack, straight wiring of the capture
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  529  			 * units,assuming they are linearly enumerated. */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  530  			input_system_sub_system_reg_store(INPUT_SYSTEM0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  531  							  GPREGS_UNIT0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  532  							  HIVE_ISYS_GPREG_MULTICAST_A_IDX
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  533  							  + (unsigned int)port,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  534  							  INPUT_SYSTEM_CSI_BACKEND);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  535  			/* MW: Like the integration test example we overwite,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  536  			 * the GPREG_MUX register */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  537  			input_system_sub_system_reg_store(INPUT_SYSTEM0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  538  							  GPREGS_UNIT0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  539  							  HIVE_ISYS_GPREG_MUX_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  540  							  (input_system_multiplex_t)port);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  541  		} else {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  542  			/*
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  543  			 * AM: A bit of a hack, wiring the input system.
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  544  			 */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  545  			input_system_sub_system_reg_store(INPUT_SYSTEM0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  546  							  GPREGS_UNIT0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  547  							  HIVE_ISYS_GPREG_MULTICAST_A_IDX
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  548  							  + (unsigned int)port,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  549  							  INPUT_SYSTEM_INPUT_BUFFER);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  550  			input_system_sub_system_reg_store(INPUT_SYSTEM0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  551  							  GPREGS_UNIT0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  552  							  HIVE_ISYS_GPREG_MUX_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  553  							  INPUT_SYSTEM_ACQUISITION_UNIT);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  554  		}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  555  	}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  556  	/*
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  557  	 * The 2ppc is shared for all ports, so we cannot
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  558  	 * disable->configure->enable individual ports
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  559  	 */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  560  	/* AM: Check whether this is a problem with multiple streams. */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  561  	/* MS: 2ppc should be a property per binary and should be
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  562  	 * enabled/disabled per binary.
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  563  	 * Currently it is implemented as a system wide setting due
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  564  	 * to effort and risks. */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  565  	if (!any_port_enabled) {
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  566  		receiver_reg_store(RX0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  567  				   _HRT_CSS_RECEIVER_TWO_PIXEL_EN_REG_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  568  				   config->is_two_ppc);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  569  		receiver_reg_store(RX0_ID, _HRT_CSS_RECEIVER_BE_TWO_PPC_REG_IDX,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  570  				   config->is_two_ppc);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  571  	}
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  572  	receiver_port_enable(RX0_ID, port, true);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  573  	/* TODO: JB: need to add the beneath used define to mizuchi */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  574  	/* sh_css_sw_hive_isp_css_2400_system_20121224_0125\css
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  575  	 *                      \hrt\input_system_defs.h
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  576  	 * #define INPUT_SYSTEM_CSI_RECEIVER_SELECT_BACKENG 0X207
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  577  	 */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  578  	/* TODO: need better name for define
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  579  	 * input_system_reg_store(INPUT_SYSTEM0_ID,
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  580  	 *                INPUT_SYSTEM_CSI_RECEIVER_SELECT_BACKENG, 1);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  581  	 */
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  582  	input_system_reg_store(INPUT_SYSTEM0_ID, 0x207, 1);
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  583  #else
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  584  #error "rx.c: RX version must be one of {RX_VERSION_2}"
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  585  #endif
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  586  
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  587  	return;
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  588  }
ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/rx.c Mauro Carvalho Chehab 2020-04-19  589  

:::::: The code at line 488 was first introduced by commit
:::::: ad85094b293e40e7a2f831b0311a389d952ebd5e Revert "media: staging: atomisp: Remove driver"

:::::: TO: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux