Re: linux-next: Tree for Mar 26 (drivers/media/cec/i2c/tda9950)

From: Hans Verkuil
Date: Thu Mar 27 2025 - 04:00:49 EST


On 27/03/2025 01:22, Randy Dunlap wrote:
>
>
> On 3/25/25 10:56 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20250325:
>>
>
> on x86_64, when CONFIG_I2C=m and
> CONFIG_CEC_NXP_TDA9950=y:
>
> ld: vmlinux.o: in function `tda9950_write_range':
> tda9950.c:(.text+0x1225126): undefined reference to `i2c_transfer'
> ld: vmlinux.o: in function `tda9950_read':
> tda9950.c:(.text+0x122553f): undefined reference to `i2c_transfer'
> ld: vmlinux.o: in function `tda9950_irq':
> tda9950.c:(.text+0x122573e): undefined reference to `i2c_transfer'
> ld: vmlinux.o: in function `tda9950_driver_init':
> tda9950.c:(.init.text+0x726a3): undefined reference to `i2c_register_driver'
> ld: vmlinux.o: in function `tda9950_driver_exit':
> tda9950.c:(.exit.text+0x54fc): undefined reference to `i2c_del_driver'
>
>

Dmitry, two patches were posted fixing this (both effectively identical):

https://patchwork.linuxtv.org/project/linux-media/patch/20250227140301.3062217-1-arnd@xxxxxxxxxx/
https://patchwork.linuxtv.org/project/linux-media/patch/20250322024914.3622546-1-yuehaibing@xxxxxxxxxx/

I suspect neither of these was picked up by the drm folks? Since the move of this tda9950
driver from the drm subsystem to the media subsystem went through the drm tree, I can't apply the fix.

Once rc1 is released I can take care of it myself, since then it is part of the media subsystem.

Regards,

Hans