]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: pvrusb2: Convert queryctrl to query_ext_ctrl
authorRicardo Ribalda <ribalda@chromium.org>
Sun, 23 Feb 2025 18:58:05 +0000 (18:58 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 5 Mar 2025 09:43:24 +0000 (10:43 +0100)
commit8b5ebc688054979c51f71bb826b1956432c98e4a
tree45aba10ebbb58639763a7e020252068d3ba3abe1
parent46108b41aeb5ac36da3ab613f9ab1b355f196a88
media: pvrusb2: Convert queryctrl to query_ext_ctrl

The driver was missing support for query_ext_ctrl. Instead of adding a
new callback for it, replace the current implementation of queryctrl and
let the ioctl framework emulate the old function.

Most of the fields are identical, so the change is pretty simple.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c