Re: [PATCH v2 2/2] ASoC: codecs: add ES7243E ADC driver

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

 



Hi Igor,

kernel test robot noticed the following build warnings:

[auto build test WARNING on baeb9a7d8b60b021d907127509c44507539c15e5]

url:    https://github.com/intel-lab-lkp/linux/commits/Igor-Prusov/ASoC-dt-bindings-Add-Everest-ES7243E/20240920-235246
base:   baeb9a7d8b60b021d907127509c44507539c15e5
patch link:    https://lore.kernel.org/r/20240920-es7243e-adc-v2-2-0be019735b81%40salutedevices.com
patch subject: [PATCH v2 2/2] ASoC: codecs: add ES7243E ADC driver
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240922/202409220118.t4hCju9t-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240922/202409220118.t4hCju9t-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409220118.t4hCju9t-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/es7243e.c:23: warning: expecting prototype for es7243e.c(). Prototype was for ES7243E_RESET() instead


vim +23 sound/soc/codecs/es7243e.c

    22	
  > 23	#define ES7243E_RESET			0x00
    24	#define ES7243E_CLK1			0x01
    25	#define  ES7243E_CLK1_ANA_ON		BIT(1)
    26	#define  ES7243E_CLK1_ADC_ON		BIT(3)
    27	#define ES7243E_CLK2			0x02
    28	#define  ES7243E_CLK2_BCLK_INV		BIT(0)
    29	#define ES7243E_ADC_OSR			0x03
    30	#define ES7243E_MCLK_PRE		0x04
    31	#define ES7243E_CF_DSP_DIV		0x05
    32	#define ES7243E_BCLK_DIV		0x06
    33	#define ES7243E_CLK7			0x07
    34	#define  ES7243E_CLK7_LRCK_DIV_HI	GENMASK(3, 0)
    35	#define ES7243E_LRCK_DIV		0x08
    36	#define ES7243E_S1_SEL			0x09
    37	#define ES7243E_S3_SEL			0x0A
    38	#define ES7243E_SDP			0x0B
    39	#define  ES7243E_SDP_MUTE		GENMASK(7, 6)
    40	#define  ES7243E_SDP_LRP		BIT(5)
    41	#define  ES7243E_SDP_WL			GENMASK(4, 2)
    42	#define  ES7243E_SDP_FMT		GENMASK(1, 0)
    43	#define ES7243E_TDM			0x0B
    44	#define ES7243E_ADCCTL1			0x0D
    45	#define  ES7243E_ADCCTL1_SCALE		GENMASK(2, 0)
    46	#define ES7243E_ADC_VOL			0x0E
    47	#define ES7243E_ADCCTL2			0x0F
    48	#define ES7243E_AUTOMUTE1		0x10
    49	#define ES7243E_AUTOMUTE2		0x11
    50	#define ES7243E_AUTOMUTE3		0x12
    51	#define ES7243E_AUTOMUTE4		0x13
    52	#define ES7243E_ADC_HPF1		0x14
    53	#define ES7243E_ADC_HPF2		0x15
    54	#define ES7243E_PDN			0x16
    55	#define  ES7243E_PDN_ANA		BIT(7)
    56	#define  ES7243E_PDN_BIAS		BIT(6)
    57	#define  ES7243E_PDN_MOD1_RST		BIT(5)
    58	#define  ES7243E_PDN_MOD2_RST		BIT(4)
    59	#define  ES7243E_PDN_MOD1		BIT(3)
    60	#define  ES7243E_PDN_MOD2		BIT(2)
    61	#define  ES7243E_PDN_PGA1		BIT(1)
    62	#define  ES7243E_PDN_PGA2		BIT(0)
    63	#define ES7243E_VMIDSEL			0x17
    64	#define ES7243E_ADC_BIAS_0x18		0x18
    65	#define ES7243E_PGA_BIAS		0x19
    66	#define ES7243E_ADC_BIAS_0x1A		0x1A
    67	#define ES7243E_ADC_MICBIAS		0x1B
    68	#define ES7243E_ADC_VRPBIAS		0x1C
    69	#define ES7243E_ADC_LP			0x1D
    70	#define ES7243E_ADC_PGA_LP		0x1E
    71	#define ES7243E_ADC_VMID		0x1F
    72	#define ES7243E_PGA1			0x20
    73	#define	 ES7243E_PGA1_EN		BIT(4)
    74	#define ES7243E_PGA2			0x21
    75	#define	 ES7243E_PGA2_EN		BIT(4)
    76	#define ES7243E_DLL_PWN			0xF9
    77	#define ES7243E_I2C_CONFIG		0xFC
    78	#define ES7243E_FLAG			0xFA
    79	#define ES7243E_CHIP_ID1		0xFD
    80	#define ES7243E_CHIP_ID2		0xFE
    81	#define ES7243E_CHIP_VER		0xFF
    82	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux