[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZjiZ-vAnsI1XQubA@smile.fi.intel.com>
Date: Mon, 6 May 2024 11:51:06 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: "Xu, Baojun" <baojun.xu@...com>
Cc: Takashi Iwai <tiwai@...e.de>, "robh+dt@...nel.org" <robh+dt@...nel.org>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"perex@...ex.cz" <perex@...ex.cz>,
"pierre-louis.bossart@...ux.intel.com" <pierre-louis.bossart@...ux.intel.com>,
"Lu, Kevin" <kevin-lu@...com>,
"Ding, Shenghao" <shenghao-ding@...com>,
"Navada Kanyana, Mukund" <navada@...com>,
"13916275206@....com" <13916275206@....com>,
"P O, Vijeth" <v-po@...com>,
"Holalu Yogendra, Niranjan" <niranjan.hy@...com>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"liam.r.girdwood@...el.com" <liam.r.girdwood@...el.com>,
"yung-chuan.liao@...ux.intel.com" <yung-chuan.liao@...ux.intel.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"soyer@....hu" <soyer@....hu>
Subject: Re: [EXTERNAL] Re: [PATCH v4 1/3] ALSA: hda/tas2781: Add tas2781 hda
driver based on SPI
On Mon, May 06, 2024 at 07:44:41AM +0000, Xu, Baojun wrote:
> > From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> > Sent: 30 April 2024 21:45
> > On Tue, Apr 30, 2024 at 02: 58: 10PM +0200, Takashi Iwai wrote:
> > On Tue, Apr 30, 2024 at 02:58:10PM +0200, Takashi Iwai wrote:
> > > On Tue, 30 Apr 2024 09:25:42 +0200, Baojun Xu wrote:
..
> > > > snd-hda-cs-dsp-ctls-objs := hda_cs_dsp_ctl.o
> > > > snd-hda-scodec-component-objs := hda_component.o
> > > > snd-hda-scodec-tas2781-i2c-objs := tas2781_hda_i2c.o
> > > > +snd-hda-scodec-tas2781-spi-y := tas2781_hda_spi.o tas2781_spi_fwlib.o
> > >
> > > A nitpicking: better to align with other lines (i.e. with *-objs
> > > instead of *-y).
> >
> > I object this. The better approach is to have a precursor patch that switches
> > to y over objs (the latter is for user space code / tools).
>
> I also do not fully understand why set it as "y", as you know, I follow
> CONFIG_SND_HDA_SCODEC_TAS2781_I2C, as it do not set to "y".
While you see no side effects, the 'objs' is reserved for user space, while 'y'
should be used in the kernel code.
See Documentation/kbuild/makefiles.rst "Composite Host Programs", mind
the word "host" meaning.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists