Re: [PATCH 5.10 294/575] media: i2c: ths8200 needs V4L2_ASYNC

From: Pavel Machek
Date: Tue Nov 16 2021 - 07:02:37 EST


Hi!
>
> [ Upstream commit e4625044d656f3c33ece0cc9da22577bc10ca5d3 ]
>
> Fix the build errors reported by the kernel test robot by
> selecting V4L2_ASYNC:
>
> mips-linux-ld: drivers/media/i2c/ths8200.o: in function `ths8200_remove':
> ths8200.c:(.text+0x1ec): undefined reference to `v4l2_async_unregister_subdev'
> mips-linux-ld: drivers/media/i2c/ths8200.o: in function `ths8200_probe':
> ths8200.c:(.text+0x404): undefined reference to
`v4l2_async_register_subdev'

CONFIG_V4L2_ASYNC is not present in 5.10 kernel, this is should not be
applied here.

Best regards,
Pavel

> +++ b/drivers/media/i2c/Kconfig
> @@ -595,6 +595,7 @@ config VIDEO_AK881X
> config VIDEO_THS8200
> tristate "Texas Instruments THS8200 video encoder"
> depends on VIDEO_V4L2 && I2C
> + select V4L2_ASYNC
> help
> Support for the Texas Instruments THS8200 video encoder.
>

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachment: signature.asc
Description: Digital signature