media: uvcvideo: UVC minimum relative pan/tilt/zoom speed fix
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest1 patch 0 repliesNew
- v31 patch 2 repliesSuperseded
Changes in v4 from the cover letter
- Based on Ricardo's suggestion, only query the min value in uvc_ctrl_set if necessary
- Rename is_relative_ptz_ctrl function to uvc_ctrl_is_relative_ptz for consistency
- Rename 'relative speed implementation' to 'relative PTZ controls' in comments
- Fix indentation of comments
- Reduce the length of the new lines to 80
- Link to v3: https://lore.kernel.org/all/[email protected]/
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | media: uvcvideo: UVC minimum relative pan/tilt/zoom speed fix.drivers/ | +35 | 0 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Ricardo Ribalda |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/1] media: uvcvideo: UVC minimum relative pan/tilt/zoom speed fix
Hello,
I applied Ricardo's suggestion.
And I found a few ways to improve the style.
I've also added Ricardo's reviewed-by tag as these are just style changes.
---
Changes in v4:
- Based on Ricardo's suggestion, only query the min value in uvc_ctrl_set if necessary
- Rename is_relative_ptz_ctrl function to uvc_ctrl_is_relative_ptz for consistency
- Rename 'relative speed implementation' to 'relative PTZ controls' in comments
- Fix indentation of comments
- Reduce the length of the new lines to 80
- Link to v3: https://lore.kernel.org/all/[email protected]/
Changes in v3:
- Based on Ricardo's suggestion, I squashed the two patches.
- Link to v2: https://lore.kernel.org/all/20240405-uvc-fix-relative-ptz-speed-v1-0-c32cdb2a899d@securitylive.com/
Changes in v2:
- Made recommended changes, moved control check to helper function and removed dead code.
- Link to v1: https://lore.kernel.org/all/20240326-uvc-relative-ptz-speed-fix-v1-1-453fd5ccfd37@securitylive.com/
---
John Bauer (1):
media: uvcvideo: UVC minimum relative pan/tilt/zoom speed fix.
drivers/media/usb/uvc/uvc_ctrl.c | 42 ++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 7 deletions(-)
Signature · 4 lines
2.45.2 Best regards, Gergo Koteles