mbox series

[0/3] media: uvcvideo: Prepare deprecation of nodrop

Message ID 20241217-uvc-deprecate-v1-0-57d353f68f8f@chromium.org (mailing list archive)
Headers show
Series media: uvcvideo: Prepare deprecation of nodrop | expand

Message

Ricardo Ribalda Dec. 17, 2024, 9:06 p.m. UTC
We intend to deprecate the nodrop parameter in the future and adopt the
default behaviour of the other media drivers: drop invalid packages.

Make the first step in the deprecation by changing the default value of
the parameter and printing an error message when the value is changed.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Ricardo Ribalda (3):
      media: uvcvideo: Swap default value for nodrop module param
      media: uvcvideo: Allow changing noparam on the fly
      media: uvcvideo: Announce the user our deprecation intentions

 drivers/media/usb/uvc/uvc_driver.c | 23 ++++++++++++++++++++---
 drivers/media/usb/uvc/uvc_queue.c  |  6 ++----
 drivers/media/usb/uvc/uvcvideo.h   |  4 +---
 3 files changed, 23 insertions(+), 10 deletions(-)
---
base-commit: d216d9cb4dd854ef0a2ec1701f403facb298af51
change-id: 20241217-uvc-deprecate-fbd6228fa1e2

Best regards,