]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:09 +0000 (14:40 +0200)
commit9d1a5be86dbe074bd8dd6bdd63a99d6bb66d5930
treef3604a9be8db45207cfe5658f96b2edba8f8a773
parent41f654291ba7e440db4a370da16aab8286df1a54
media: cx231xx: set device_caps for 417

[ Upstream commit a79efc44b51432490538a55b9753a721f7d3ea42 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/usb/cx231xx/cx231xx-417.c