]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: cx231xx: set device_caps for 417
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 24 Feb 2025 13:13:24 +0000 (14:13 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 5 Mar 2025 09:43:24 +0000 (10:43 +0100)
commita79efc44b51432490538a55b9753a721f7d3ea42
tree251fab9ce1d60aa93495397aa37515e89ffd386d
parentfff538822c228623cc32228418fcb0d0dd0430a6
media: cx231xx: set device_caps for 417

The video_device for the MPEG encoder did not set device_caps.

Add this, otherwise the video device can't be registered (you get a
WARN_ON instead).

Not seen before since currently 417 support is disabled, but I found
this while experimenting with it.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/cx231xx/cx231xx-417.c