Skip to contentSkip to conversation

media: i2c: ths8200 needs V4L2_ASYNC

PATCH In review Randy Dunlap 3 participants 3 messages Sep 4, 2021 – Sep 6, 2021 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: i2c: ths8200 needs V4L2_ASYNC

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'

Fixes ed29f89497006 ("media: i2c: ths8200: support asynchronous probing")
Cc "Lad, Prabhakar" <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Ezequiel Garcia <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/i2c/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/media/i2c/Kconfig +1 -0
@@ -597,6 +597,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.
 
Reviewed-by on v1 1/1
#1 lore raw

Hi Randy,

Thank you for the patch.

Quoted 18 lines · Randy Dunlap

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'

Fixes ed29f89497006 ("media: i2c: ths8200: support asynchronous probing")
Cc "Lad, Prabhakar" <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Ezequiel Garcia <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Quoted 4 lines
---
 drivers/media/i2c/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Cheers,
Prabhakar

Quoted 10 lines
drivers/media/i2c/Kconfig +1 -0
@@ -597,6 +597,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.
 
Acked-by on v1 1/1
#2 lore raw
In reply to Randy Dunlap
Quoted 8 lines · Randy Dunlap

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'

Quoted 9 lines
Fixes ed29f89497006 ("media: i2c: ths8200: support asynchronous probing")
Cc "Lad, Prabhakar" <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Ezequiel Garcia <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Signature · 1 line
Sakari Ailus