[PATCH v3 0/3] media: uvcvideo: Limit Power Line Control

From: Ricardo Ribalda
Date: Tue Jan 03 2023 - 06:02:20 EST


Another set of webcams with invalid PLC controls.

To: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
To: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Cc: linux-media@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>

---
Changes in v3:
- Add patch to refactor uvc_ctrl_power_line_mapping_limited. (Can be ignored)
- Improve commit message. (Thanks Laurent!)
- Reference uvc_ctrl_power_line_mapping_uvc11 from uvc_ctrl.c (Thanks Laurent!)
- Link to v2: https://lore.kernel.org/r/20221101-easycam-v2-0-5956414a608c@xxxxxxxxxxxx

Changes in v2:
- Add Lenovo Integrated Camera
- Link to v1: https://lore.kernel.org/r/20221101-easycam-v1-0-71d6409963da@xxxxxxxxxxxx

---
Ricardo Ribalda (3):
media: uvcvideo: Limit power line control for Acer EasyCamera
media: uvcvideo: Fix power line control for Lenovo Integrated Camera
media: uvcvideo: Refactor power_line_frequency_controls_limited

drivers/media/usb/uvc/uvc_ctrl.c | 41 ++++++++++++++++++++++++++++----------
drivers/media/usb/uvc/uvc_driver.c | 38 +++++++++++++++++++++--------------
drivers/media/usb/uvc/uvcvideo.h | 2 ++
3 files changed, 55 insertions(+), 26 deletions(-)
---
base-commit: 69b41ac87e4a664de78a395ff97166f0b2943210
change-id: 20221101-easycam-8f1ab598b12f

Best regards,
--
Ricardo Ribalda <ribalda@xxxxxxxxxxxx>