All of lore.kernel.org
 help / color / mirror / Atom feed
* [ebiggers:mmc-crypto-testing 82/134] drivers/media/i2c/imx219.c:241:32: warning: unused variable 'imx219_auth'
@ 2020-12-09 12:49 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-09 12:49 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 9551 bytes --]

Hi AngeloGioacchino,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git mmc-crypto-testing
head:   59de920e6312f7cf742790b1aa61a1385493d66e
commit: 13225a287e64e905fa45dde2d1a61ffe648ba00d [82/134] media: i2c: imx219: Rewrite tables and implement more modes
config: x86_64-randconfig-a004-20201209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 1968804ac726e7674d5de22bc2204b45857da344)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/commit/?id=13225a287e64e905fa45dde2d1a61ffe648ba00d
        git remote add ebiggers https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git
        git fetch --no-tags ebiggers mmc-crypto-testing
        git checkout 13225a287e64e905fa45dde2d1a61ffe648ba00d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/imx219.c:241:32: warning: unused variable 'imx219_auth' [-Wunused-const-variable]
   static const struct imx219_reg imx219_auth[] = {
                                  ^
>> drivers/media/i2c/imx219.c:250:32: warning: unused variable 'imx219_unknown_seq' [-Wunused-const-variable]
   static const struct imx219_reg imx219_unknown_seq[] = {
                                  ^
>> drivers/media/i2c/imx219.c:332:32: warning: unused variable 'mode_1920x1080_cropped' [-Wunused-const-variable]
   static const struct imx219_reg mode_1920x1080_cropped[] = {
                                  ^
   3 warnings generated.

vim +/imx219_auth +241 drivers/media/i2c/imx219.c

   221	
   222	/*
   223	 * The authentication sequence is needed to access registers beyond 0x3000,
   224	 * which the datasheet calls "Manufacturer Specific Registers", with a range
   225	 * going from 0x3000 to 0x5fff, but its documentation is full of holes:
   226	 * it is infact documenting registers from 0x3000 to 0x32ff as OTP Data
   227	 * and, as for the others, it docuemnts 0x4053, 0x5e54 and 0x5e59.. and
   228	 * nothing else.
   229	 *
   230	 * On both Raspberry Pi and Xperia XA2 i2c dumps, there is an unknown
   231	 * write sequence that is totally the same between the two, but the sensor
   232	 * seems to work regardless of this being sent.
   233	 * Spirit here is to not send unknown things, especially if they don't seem
   234	 * to do anything... and that's what was done. Also, remember that the auth
   235	 * commands will allow to write to the OTP area, which may actually damage
   236	 * the sensor functionality (for example, factory calibrations may be damaged).
   237	 *
   238	 * The authentication sequence and the unknown one are kept here in case one
   239	 * day they get documented somehow, or a use for them gets found.
   240	 */
 > 241	static const struct imx219_reg imx219_auth[] = {
   242		{ 0x30eb, 0x05, IMX219_REG_VALUE_08BIT, false },
   243		{ 0x30eb, 0x0c, IMX219_REG_VALUE_08BIT, false },
   244		{ 0x300a, 0xff, IMX219_REG_VALUE_08BIT, false },
   245		{ 0x300b, 0xff, IMX219_REG_VALUE_08BIT, false },
   246		{ 0x30eb, 0x05, IMX219_REG_VALUE_08BIT, false },
   247		{ 0x30eb, 0x09, IMX219_REG_VALUE_08BIT, false },
   248	};
   249	
 > 250	static const struct imx219_reg imx219_unknown_seq[] = {
   251		{ 0x455E, 0x00, IMX219_REG_VALUE_08BIT, false },
   252		{ 0x471E, 0x4B, IMX219_REG_VALUE_08BIT, false },
   253		{ 0x4767, 0x0F, IMX219_REG_VALUE_08BIT, false },
   254		{ 0x4750, 0x14, IMX219_REG_VALUE_08BIT, false },
   255		{ 0x4540, 0x00, IMX219_REG_VALUE_08BIT, false },
   256		{ 0x47B4, 0x14, IMX219_REG_VALUE_08BIT, false },
   257		{ 0x4713, 0x30, IMX219_REG_VALUE_08BIT, false },
   258		{ 0x478B, 0x10, IMX219_REG_VALUE_08BIT, false },
   259		{ 0x478F, 0x10, IMX219_REG_VALUE_08BIT, false },
   260		{ 0x4793, 0x10, IMX219_REG_VALUE_08BIT, false },
   261		{ 0x4797, 0x0e, IMX219_REG_VALUE_08BIT, false },
   262		{ 0x479b, 0x0e, IMX219_REG_VALUE_08BIT, false },
   263	};
   264	
   265	static const struct imx219_reg mode_24mhz_regs[] = {
   266		{ IMX219_REG_EXCK_FREQ_MHZ, (24 << 8), IMX219_REG_VALUE_16BIT, false },
   267		{ IMX219_REG_DPHY_CTRL, 0, IMX219_REG_VALUE_08BIT, false },
   268		{ IMX219_REG_VT_PIX_CLK_DIV, 5, IMX219_REG_VALUE_08BIT, false },
   269		{ IMX219_REG_VT_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   270		{ IMX219_REG_PREPLLCK_VT_DIV, 3, IMX219_REG_VALUE_08BIT, false },
   271		{ IMX219_REG_PREPLLCK_OP_DIV, 3, IMX219_REG_VALUE_08BIT, false },
   272		{ IMX219_REG_OP_PIX_CLK_DIV, 10, IMX219_REG_VALUE_08BIT, false },
   273		{ IMX219_REG_OP_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   274		{ IMX219_REG_PLL_OP_MULTIPLIER, 84, IMX219_REG_VALUE_16BIT, false },
   275	};
   276	
   277	static const struct imx219_reg mode_24mhz_2lane[] = {
   278		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_2LANE,
   279						IMX219_REG_VALUE_08BIT, false },
   280		{ IMX219_REG_PLL_VT_MULTIPLIER, 57, IMX219_REG_VALUE_16BIT, false },
   281	};
   282	
   283	static const struct imx219_reg mode_24mhz_4lane[] = {
   284		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_4LANE,
   285						IMX219_REG_VALUE_08BIT, false },
   286		{ IMX219_REG_PLL_VT_MULTIPLIER, 82, IMX219_REG_VALUE_16BIT, false },
   287	};
   288	
   289	static const struct imx219_reg mode_8mhz_regs[] = {
   290		{ IMX219_REG_EXCK_FREQ_MHZ, (8 << 8), IMX219_REG_VALUE_16BIT, false },
   291		{ IMX219_REG_DPHY_CTRL, 0, IMX219_REG_VALUE_08BIT, false },
   292		{ IMX219_REG_VT_PIX_CLK_DIV, 5, IMX219_REG_VALUE_08BIT, false },
   293		{ IMX219_REG_VT_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   294		{ IMX219_REG_PREPLLCK_VT_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   295		{ IMX219_REG_PREPLLCK_OP_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   296		{ IMX219_REG_OP_PIX_CLK_DIV, 10, IMX219_REG_VALUE_08BIT, false },
   297		{ IMX219_REG_OP_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   298		{ IMX219_REG_PLL_OP_MULTIPLIER, 90, IMX219_REG_VALUE_16BIT, false },
   299	};
   300	
   301	static const struct imx219_reg mode_8mhz_2lane[] = {
   302		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_2LANE,
   303						IMX219_REG_VALUE_08BIT, false },
   304		{ IMX219_REG_PLL_VT_MULTIPLIER, 63, IMX219_REG_VALUE_16BIT, false },
   305	};
   306	
   307	static const struct imx219_reg mode_8mhz_4lane[] = {
   308		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_4LANE,
   309						IMX219_REG_VALUE_08BIT, false },
   310		{ IMX219_REG_PLL_VT_MULTIPLIER, 88, IMX219_REG_VALUE_16BIT, false },
   311	};
   312	
   313	/* Please select BANK OFFSET */
   314	static const struct imx219_reg mode_3280x2464[] = {
   315		/* MAX: 4-Lane @ 30FPS - 2-Lane @ 15FPS */
   316		{ IMX219_REG_FRAME_LEN_LINES, 2691, IMX219_REG_VALUE_16BIT, true },
   317		{ IMX219_REG_LINE_LEN_PCK, 3448, IMX219_REG_VALUE_16BIT, true },
   318		{ IMX219_REG_X_ADDR_START, 0, IMX219_REG_VALUE_16BIT, true },
   319		{ IMX219_REG_X_ADDR_END, 3279, IMX219_REG_VALUE_16BIT, true },
   320		{ IMX219_REG_Y_ADDR_START, 0, IMX219_REG_VALUE_16BIT, true },
   321		{ IMX219_REG_Y_ADDR_END, 2463, IMX219_REG_VALUE_16BIT, true },
   322		{ IMX219_REG_X_OUTPUT_SIZE, 3280, IMX219_REG_VALUE_16BIT, true },
   323		{ IMX219_REG_Y_OUTPUT_SIZE, 2464, IMX219_REG_VALUE_16BIT, true },
   324		{ IMX219_REG_X_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   325		{ IMX219_REG_Y_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   326		{ IMX219_REG_BINNING_MODE_H, 0, IMX219_REG_VALUE_08BIT, true },
   327		{ IMX219_REG_BINNING_MODE_V, 0, IMX219_REG_VALUE_08BIT, true },
   328		{ IMX219_REG_BINNING_CAL_H, 0, IMX219_REG_VALUE_08BIT, true },
   329		{ IMX219_REG_BINNING_CAL_V, 0, IMX219_REG_VALUE_08BIT, true },
   330	};
   331	
 > 332	static const struct imx219_reg mode_1920x1080_cropped[] = {
   333		{ IMX219_REG_FRAME_LEN_LINES, 2691, IMX219_REG_VALUE_16BIT, true },
   334		{ IMX219_REG_LINE_LEN_PCK, 3448, IMX219_REG_VALUE_16BIT, true },
   335		{ IMX219_REG_X_ADDR_START, 680, IMX219_REG_VALUE_16BIT, true },
   336		{ IMX219_REG_X_ADDR_END, 2599, IMX219_REG_VALUE_16BIT, true },
   337		{ IMX219_REG_Y_ADDR_START, 692, IMX219_REG_VALUE_16BIT, true },
   338		{ IMX219_REG_Y_ADDR_END, 1771, IMX219_REG_VALUE_16BIT, true },
   339		{ IMX219_REG_X_OUTPUT_SIZE, 1920, IMX219_REG_VALUE_16BIT, true },
   340		{ IMX219_REG_Y_OUTPUT_SIZE, 1080, IMX219_REG_VALUE_16BIT, true },
   341		{ IMX219_REG_X_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   342		{ IMX219_REG_Y_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   343		{ IMX219_REG_BINNING_MODE_H, 0, IMX219_REG_VALUE_08BIT, true },
   344		{ IMX219_REG_BINNING_MODE_V, 0, IMX219_REG_VALUE_08BIT, true },
   345		{ IMX219_REG_BINNING_CAL_H, 0, IMX219_REG_VALUE_08BIT, true },
   346		{ IMX219_REG_BINNING_CAL_V, 0, IMX219_REG_VALUE_08BIT, true },
   347	};
   348	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40550 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ebiggers:mmc-crypto-testing 82/134] drivers/media/i2c/imx219.c:241:32: warning: unused variable 'imx219_auth'
@ 2020-12-04 11:29 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-04 11:29 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 9484 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git mmc-crypto-testing
head:   4a151975f421e11263e7dc0e72d521017e3b12bd
commit: 13225a287e64e905fa45dde2d1a61ffe648ba00d [82/134] media: i2c: imx219: Rewrite tables and implement more modes
config: arm64-randconfig-r024-20201204 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 32c501dd88b62787d3a5ffda7aabcf4650dbe3cd)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/commit/?id=13225a287e64e905fa45dde2d1a61ffe648ba00d
        git remote add ebiggers https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git
        git fetch --no-tags ebiggers mmc-crypto-testing
        git checkout 13225a287e64e905fa45dde2d1a61ffe648ba00d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/imx219.c:241:32: warning: unused variable 'imx219_auth' [-Wunused-const-variable]
   static const struct imx219_reg imx219_auth[] = {
                                  ^
>> drivers/media/i2c/imx219.c:250:32: warning: unused variable 'imx219_unknown_seq' [-Wunused-const-variable]
   static const struct imx219_reg imx219_unknown_seq[] = {
                                  ^
>> drivers/media/i2c/imx219.c:332:32: warning: unused variable 'mode_1920x1080_cropped' [-Wunused-const-variable]
   static const struct imx219_reg mode_1920x1080_cropped[] = {
                                  ^
   3 warnings generated.

vim +/imx219_auth +241 drivers/media/i2c/imx219.c

   221	
   222	/*
   223	 * The authentication sequence is needed to access registers beyond 0x3000,
   224	 * which the datasheet calls "Manufacturer Specific Registers", with a range
   225	 * going from 0x3000 to 0x5fff, but its documentation is full of holes:
   226	 * it is infact documenting registers from 0x3000 to 0x32ff as OTP Data
   227	 * and, as for the others, it docuemnts 0x4053, 0x5e54 and 0x5e59.. and
   228	 * nothing else.
   229	 *
   230	 * On both Raspberry Pi and Xperia XA2 i2c dumps, there is an unknown
   231	 * write sequence that is totally the same between the two, but the sensor
   232	 * seems to work regardless of this being sent.
   233	 * Spirit here is to not send unknown things, especially if they don't seem
   234	 * to do anything... and that's what was done. Also, remember that the auth
   235	 * commands will allow to write to the OTP area, which may actually damage
   236	 * the sensor functionality (for example, factory calibrations may be damaged).
   237	 *
   238	 * The authentication sequence and the unknown one are kept here in case one
   239	 * day they get documented somehow, or a use for them gets found.
   240	 */
 > 241	static const struct imx219_reg imx219_auth[] = {
   242		{ 0x30eb, 0x05, IMX219_REG_VALUE_08BIT, false },
   243		{ 0x30eb, 0x0c, IMX219_REG_VALUE_08BIT, false },
   244		{ 0x300a, 0xff, IMX219_REG_VALUE_08BIT, false },
   245		{ 0x300b, 0xff, IMX219_REG_VALUE_08BIT, false },
   246		{ 0x30eb, 0x05, IMX219_REG_VALUE_08BIT, false },
   247		{ 0x30eb, 0x09, IMX219_REG_VALUE_08BIT, false },
   248	};
   249	
 > 250	static const struct imx219_reg imx219_unknown_seq[] = {
   251		{ 0x455E, 0x00, IMX219_REG_VALUE_08BIT, false },
   252		{ 0x471E, 0x4B, IMX219_REG_VALUE_08BIT, false },
   253		{ 0x4767, 0x0F, IMX219_REG_VALUE_08BIT, false },
   254		{ 0x4750, 0x14, IMX219_REG_VALUE_08BIT, false },
   255		{ 0x4540, 0x00, IMX219_REG_VALUE_08BIT, false },
   256		{ 0x47B4, 0x14, IMX219_REG_VALUE_08BIT, false },
   257		{ 0x4713, 0x30, IMX219_REG_VALUE_08BIT, false },
   258		{ 0x478B, 0x10, IMX219_REG_VALUE_08BIT, false },
   259		{ 0x478F, 0x10, IMX219_REG_VALUE_08BIT, false },
   260		{ 0x4793, 0x10, IMX219_REG_VALUE_08BIT, false },
   261		{ 0x4797, 0x0e, IMX219_REG_VALUE_08BIT, false },
   262		{ 0x479b, 0x0e, IMX219_REG_VALUE_08BIT, false },
   263	};
   264	
   265	static const struct imx219_reg mode_24mhz_regs[] = {
   266		{ IMX219_REG_EXCK_FREQ_MHZ, (24 << 8), IMX219_REG_VALUE_16BIT, false },
   267		{ IMX219_REG_DPHY_CTRL, 0, IMX219_REG_VALUE_08BIT, false },
   268		{ IMX219_REG_VT_PIX_CLK_DIV, 5, IMX219_REG_VALUE_08BIT, false },
   269		{ IMX219_REG_VT_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   270		{ IMX219_REG_PREPLLCK_VT_DIV, 3, IMX219_REG_VALUE_08BIT, false },
   271		{ IMX219_REG_PREPLLCK_OP_DIV, 3, IMX219_REG_VALUE_08BIT, false },
   272		{ IMX219_REG_OP_PIX_CLK_DIV, 10, IMX219_REG_VALUE_08BIT, false },
   273		{ IMX219_REG_OP_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   274		{ IMX219_REG_PLL_OP_MULTIPLIER, 84, IMX219_REG_VALUE_16BIT, false },
   275	};
   276	
   277	static const struct imx219_reg mode_24mhz_2lane[] = {
   278		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_2LANE,
   279						IMX219_REG_VALUE_08BIT, false },
   280		{ IMX219_REG_PLL_VT_MULTIPLIER, 57, IMX219_REG_VALUE_16BIT, false },
   281	};
   282	
   283	static const struct imx219_reg mode_24mhz_4lane[] = {
   284		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_4LANE,
   285						IMX219_REG_VALUE_08BIT, false },
   286		{ IMX219_REG_PLL_VT_MULTIPLIER, 82, IMX219_REG_VALUE_16BIT, false },
   287	};
   288	
   289	static const struct imx219_reg mode_8mhz_regs[] = {
   290		{ IMX219_REG_EXCK_FREQ_MHZ, (8 << 8), IMX219_REG_VALUE_16BIT, false },
   291		{ IMX219_REG_DPHY_CTRL, 0, IMX219_REG_VALUE_08BIT, false },
   292		{ IMX219_REG_VT_PIX_CLK_DIV, 5, IMX219_REG_VALUE_08BIT, false },
   293		{ IMX219_REG_VT_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   294		{ IMX219_REG_PREPLLCK_VT_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   295		{ IMX219_REG_PREPLLCK_OP_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   296		{ IMX219_REG_OP_PIX_CLK_DIV, 10, IMX219_REG_VALUE_08BIT, false },
   297		{ IMX219_REG_OP_SYS_CLK_DIV, 1, IMX219_REG_VALUE_08BIT, false },
   298		{ IMX219_REG_PLL_OP_MULTIPLIER, 90, IMX219_REG_VALUE_16BIT, false },
   299	};
   300	
   301	static const struct imx219_reg mode_8mhz_2lane[] = {
   302		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_2LANE,
   303						IMX219_REG_VALUE_08BIT, false },
   304		{ IMX219_REG_PLL_VT_MULTIPLIER, 63, IMX219_REG_VALUE_16BIT, false },
   305	};
   306	
   307	static const struct imx219_reg mode_8mhz_4lane[] = {
   308		{ IMX219_REG_CSI_LANE_MODE, IMX219_CSI_LANE_MODE_4LANE,
   309						IMX219_REG_VALUE_08BIT, false },
   310		{ IMX219_REG_PLL_VT_MULTIPLIER, 88, IMX219_REG_VALUE_16BIT, false },
   311	};
   312	
   313	/* Please select BANK OFFSET */
   314	static const struct imx219_reg mode_3280x2464[] = {
   315		/* MAX: 4-Lane @ 30FPS - 2-Lane @ 15FPS */
   316		{ IMX219_REG_FRAME_LEN_LINES, 2691, IMX219_REG_VALUE_16BIT, true },
   317		{ IMX219_REG_LINE_LEN_PCK, 3448, IMX219_REG_VALUE_16BIT, true },
   318		{ IMX219_REG_X_ADDR_START, 0, IMX219_REG_VALUE_16BIT, true },
   319		{ IMX219_REG_X_ADDR_END, 3279, IMX219_REG_VALUE_16BIT, true },
   320		{ IMX219_REG_Y_ADDR_START, 0, IMX219_REG_VALUE_16BIT, true },
   321		{ IMX219_REG_Y_ADDR_END, 2463, IMX219_REG_VALUE_16BIT, true },
   322		{ IMX219_REG_X_OUTPUT_SIZE, 3280, IMX219_REG_VALUE_16BIT, true },
   323		{ IMX219_REG_Y_OUTPUT_SIZE, 2464, IMX219_REG_VALUE_16BIT, true },
   324		{ IMX219_REG_X_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   325		{ IMX219_REG_Y_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   326		{ IMX219_REG_BINNING_MODE_H, 0, IMX219_REG_VALUE_08BIT, true },
   327		{ IMX219_REG_BINNING_MODE_V, 0, IMX219_REG_VALUE_08BIT, true },
   328		{ IMX219_REG_BINNING_CAL_H, 0, IMX219_REG_VALUE_08BIT, true },
   329		{ IMX219_REG_BINNING_CAL_V, 0, IMX219_REG_VALUE_08BIT, true },
   330	};
   331	
 > 332	static const struct imx219_reg mode_1920x1080_cropped[] = {
   333		{ IMX219_REG_FRAME_LEN_LINES, 2691, IMX219_REG_VALUE_16BIT, true },
   334		{ IMX219_REG_LINE_LEN_PCK, 3448, IMX219_REG_VALUE_16BIT, true },
   335		{ IMX219_REG_X_ADDR_START, 680, IMX219_REG_VALUE_16BIT, true },
   336		{ IMX219_REG_X_ADDR_END, 2599, IMX219_REG_VALUE_16BIT, true },
   337		{ IMX219_REG_Y_ADDR_START, 692, IMX219_REG_VALUE_16BIT, true },
   338		{ IMX219_REG_Y_ADDR_END, 1771, IMX219_REG_VALUE_16BIT, true },
   339		{ IMX219_REG_X_OUTPUT_SIZE, 1920, IMX219_REG_VALUE_16BIT, true },
   340		{ IMX219_REG_Y_OUTPUT_SIZE, 1080, IMX219_REG_VALUE_16BIT, true },
   341		{ IMX219_REG_X_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   342		{ IMX219_REG_Y_ODD_INC, 1, IMX219_REG_VALUE_08BIT, true },
   343		{ IMX219_REG_BINNING_MODE_H, 0, IMX219_REG_VALUE_08BIT, true },
   344		{ IMX219_REG_BINNING_MODE_V, 0, IMX219_REG_VALUE_08BIT, true },
   345		{ IMX219_REG_BINNING_CAL_H, 0, IMX219_REG_VALUE_08BIT, true },
   346		{ IMX219_REG_BINNING_CAL_V, 0, IMX219_REG_VALUE_08BIT, true },
   347	};
   348	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35014 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-09 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-09 12:49 [ebiggers:mmc-crypto-testing 82/134] drivers/media/i2c/imx219.c:241:32: warning: unused variable 'imx219_auth' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-12-04 11:29 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.