media: uvc: Probe PLF limits at start-up
Get series with b4
b4 am [email protected] change-id 20240313-billion-5b2a45fa86f4Versions newest first
- v2 Latest7 patches 6 repliesIn review
- v15 patches 10 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | media: uvcvideo: Allow custom control mappingdrivers/ drivers/ | +14 | 1 reply | |
| 2/7 | media: uvcvideo: Refactor Power Line Frequency limit selectiondrivers/ | +55 | 1 reply | |
| 3/7 | media: uvcvideo: Probe the PLF characteristicsdrivers/ | +47 | 1 reply | |
| 4/7 | media: uvcvideo: Cleanup version-specific mappingdrivers/ | +0 | 0 replies | |
| 5/7 | media: uvcvideo: Remove PLF device quirkingdrivers/ drivers/ drivers/ | +2 | 1 reply | |
| 6/7 | media: uvcvideo: Remove mappings form uvc_device_infodrivers/ drivers/ | +1 | 1 reply | |
| 7/7 | media: uvcvideo: Replace get_mapping with filter_mappingdrivers/ drivers/ | +21 | 1 reply |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Sergey Senozhatsky | Laurent Pinchart |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | R-b |
| 3/7 | R-b | R-b |
| 4/7 | R-b | R-b |
| 5/7 | R-b | R-b |
| 6/7 | R-b | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] media: uvc: Probe PLF limits at start-up
The UVC standard descries the values for the PLF control for its versions 1.1 and and 1.5, but it does not describe which values MUST be implemented.
So far, we have been adding "device quirks" to provide proper limits for the control, but this is failing to scale.
Add a function that during probe-time checks the capability of the control.
---
Changes in v2: Thanks Laurent
- Cleanup mapings from uvc_device_info
- Use __free()
- Implement filter_mapping
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Ricardo Ribalda (7):
media: uvcvideo: Allow custom control mapping
media: uvcvideo: Refactor Power Line Frequency limit selection
media: uvcvideo: Probe the PLF characteristics
media: uvcvideo: Cleanup version-specific mapping
media: uvcvideo: Remove PLF device quirking
media: uvcvideo: Remove mappings form uvc_device_info
media: uvcvideo: Replace get_mapping with filter_mapping
drivers/media/usb/uvc/uvc_ctrl.c | 191 ++++++++++++++++++++----------------- drivers/media/usb/uvc/uvc_driver.c | 122 ----------------------- drivers/media/usb/uvc/uvcvideo.h | 8 +- 3 files changed, 109 insertions(+), 212 deletions(-)
---
base-commit: b14257abe7057def6127f6fb2f14f9adc8acabdb
change-id: 20240313-billion-5b2a45fa86f4
Best regards,
Signature · 1 line
Ricardo Ribalda <[email protected]>