Re: 5.10.192 fails to build (error: ‘RT711_JD2_100K’ undeclared here (not in a function))

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

 



On Sat, Aug 26, 2023 at 10:36:41PM +0200, Philip Müller wrote:
> Hi Greg,
> 
> please revert the following two patches as 5.10.192 fails to build with
> them:
> 
> asoc-intel-sof_sdw-add-quirk-for-lnl-rvp.patch
> asoc-intel-sof_sdw-add-quirk-for-mtl-rvp.patch
> 
> Error message: error: ‘RT711_JD2_100K’ undeclared here (not in a function)
> 
> 2023-08-26T17:46:51.3733116Z sound/soc/intel/boards/sof_sdw.c:208:41: error:
> ‘RT711_JD2_100K’ undeclared here (not in a function)
> 2023-08-26T17:46:51.3744338Z   208 |                 .driver_data = (void
> *)(RT711_JD2_100K),
> 2023-08-26T17:46:51.3745547Z       |     ^~~~~~~~~~~~~~
> 2023-08-26T17:46:51.4620173Z make[4]: *** [scripts/Makefile.build:286:
> sound/soc/intel/boards/sof_sdw.o] Error 1
> 2023-08-26T17:46:51.4625055Z make[3]: *** [scripts/Makefile.build:503:
> sound/soc/intel/boards] Error 2
> 2023-08-26T17:46:51.4626370Z make[2]: *** [scripts/Makefile.build:503:
> sound/soc/intel] Error 2
> 
> This happened before already:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/commit/queue-5.10?id=2e4795b45723de3d253f38bc57724d9512c737f5

{sigh}  Sorry about that.

I just backported commit 683b0df26c33 ("ASoC: rt711: add two jack
detection modes") instead, that should solve this issue and give more
support to that kernel tree if anyone is actually using it there (based
on me not geting any build errors from any CI systems for that driver, I
kind of doubt it...)

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux