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/comm...
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/comm...
{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
Hi Greg,
I applied that patch on top of 5.10.192 however I get still the same error:
2023-08-27T20:53:30.8714926Z -> Applying patch: asoc-rt711-add-two-jack-detection-modes.patch... 2023-08-27T20:53:30.8725584Z patching file sound/soc/codecs/rt711-sdw.h 2023-08-27T20:53:30.8727337Z patching file sound/soc/codecs/rt711.c 2023-08-27T20:53:30.8729516Z patching file sound/soc/codecs/rt711.h ... 2023-08-27T21:15:14.5273400Z CC [M] sound/soc/intel/boards/sof_sdw.o 2023-08-27T21:15:15.1639214Z sound/soc/intel/boards/sof_sdw.c:208:41: error: ‘RT711_JD2_100K’ undeclared here (not in a function) 2023-08-27T21:15:15.1640795Z 208 | .driver_data = (void *)(RT711_JD2_100K), 2023-08-27T21:15:15.1641904Z | ^~~~~~~~~~~~~~ 2023-08-27T21:15:15.2094047Z make[4]: *** [scripts/Makefile.build:286: sound/soc/intel/boards/sof_sdw.o] Error 1 2023-08-27T21:15:15.2105479Z make[3]: *** [scripts/Makefile.build:503: sound/soc/intel/boards] Error 2 2023-08-27T21:15:15.2107050Z make[2]: *** [scripts/Makefile.build:503: sound/soc/intel] Error 2 2023-08-27T21:15:15.2154855Z make[1]: *** [scripts/Makefile.build:503: sound/soc] Error 2 2023-08-27T21:15:15.2155979Z make: *** [Makefile:1832: sound] Error 2
Is there another patch, change you may have missed?
On 27.08.23 20:29, Greg Kroah-Hartman wrote:
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/comm...
{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
Hi Greg,
Seems this needs to been backported too:
https://github.com/torvalds/linux/commit/8e6c00f1fdea9fdf727969d7485d417240d...
At least an #include "../../codecs/rt711.h" in sound/soc/intel/boards/sof_sdw.c
On 28.08.23 07:09, Philip Müller wrote:
Hi Greg,
I applied that patch on top of 5.10.192 however I get still the same error:
2023-08-27T20:53:30.8714926Z -> Applying patch: asoc-rt711-add-two-jack-detection-modes.patch... 2023-08-27T20:53:30.8725584Z patching file sound/soc/codecs/rt711-sdw.h 2023-08-27T20:53:30.8727337Z patching file sound/soc/codecs/rt711.c 2023-08-27T20:53:30.8729516Z patching file sound/soc/codecs/rt711.h ... 2023-08-27T21:15:14.5273400Z CC [M] sound/soc/intel/boards/sof_sdw.o 2023-08-27T21:15:15.1639214Z sound/soc/intel/boards/sof_sdw.c:208:41: error: ‘RT711_JD2_100K’ undeclared here (not in a function) 2023-08-27T21:15:15.1640795Z 208 | .driver_data = (void *)(RT711_JD2_100K), 2023-08-27T21:15:15.1641904Z | ^~~~~~~~~~~~~~ 2023-08-27T21:15:15.2094047Z make[4]: *** [scripts/Makefile.build:286: sound/soc/intel/boards/sof_sdw.o] Error 1 2023-08-27T21:15:15.2105479Z make[3]: *** [scripts/Makefile.build:503: sound/soc/intel/boards] Error 2 2023-08-27T21:15:15.2107050Z make[2]: *** [scripts/Makefile.build:503: sound/soc/intel] Error 2 2023-08-27T21:15:15.2154855Z make[1]: *** [scripts/Makefile.build:503: sound/soc] Error 2 2023-08-27T21:15:15.2155979Z make: *** [Makefile:1832: sound] Error 2
Is there another patch, change you may have missed?
On 27.08.23 20:29, Greg Kroah-Hartman wrote:
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/comm...
{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
On Mon, Aug 28, 2023 at 07:17:21AM +0200, Philip Müller wrote:
Hi Greg,
Seems this needs to been backported too:
https://github.com/torvalds/linux/commit/8e6c00f1fdea9fdf727969d7485d417240d...
At least an #include "../../codecs/rt711.h" in sound/soc/intel/boards/sof_sdw.c
Now queued up, thanks.
And why are you the only one seeing this issue? What odd config are you using that none of the CI systems are catching this?
thanks,
greg k-h
On 28.08.23 08:46, Greg Kroah-Hartman wrote:
On Mon, Aug 28, 2023 at 07:17:21AM +0200, Philip Müller wrote:
Hi Greg,
Seems this needs to been backported too:
https://github.com/torvalds/linux/commit/8e6c00f1fdea9fdf727969d7485d417240d...
At least an #include "../../codecs/rt711.h" in sound/soc/intel/boards/sof_sdw.c
Now queued up, thanks.
And why are you the only one seeing this issue? What odd config are you using that none of the CI systems are catching this?
thanks,
greg k-h
I don't know if it is odd, but here it is: https://gitlab.manjaro.org/packages/core/linux510/-/raw/master/config
On Mon, Aug 28, 2023 at 08:49:14AM +0200, Philip Müller wrote:
On 28.08.23 08:46, Greg Kroah-Hartman wrote:
On Mon, Aug 28, 2023 at 07:17:21AM +0200, Philip Müller wrote:
Hi Greg,
Seems this needs to been backported too:
https://github.com/torvalds/linux/commit/8e6c00f1fdea9fdf727969d7485d417240d...
At least an #include "../../codecs/rt711.h" in sound/soc/intel/boards/sof_sdw.c
Now queued up, thanks.
And why are you the only one seeing this issue? What odd config are you using that none of the CI systems are catching this?
thanks,
greg k-h
I don't know if it is odd, but here it is: https://gitlab.manjaro.org/packages/core/linux510/-/raw/master/config
Thanks, that helped. And verified that the above commit solved the issue, thanks for the reporting and testing.
greg k-h
linux-stable-mirror@lists.linaro.org