mbox series

[v3,0/5,v3] usb: uvc: improve header files and function use

Message ID 20230126231456.3402323-1-m.grzeschik@pengutronix.de (mailing list archive)
Headers show
Series usb: uvc: improve header files and function use | expand

Message

Michael Grzeschik Jan. 26, 2023, 11:14 p.m. UTC
This series is improving the use of the uvc_format_desc
in v4l2-uvc.h and also reuses the declarative strings from
v4l_fill_fmtdesc.

This series applies on

git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git media-uvc-next-20230115

which has been merged in the Linux media tree for v6.3 (as shown by
https://git.linuxtv.org/media_stage.git/commit/?id=82adfe34694c98f1115a7b75cff6af9c4a35dba9).

v1 -> v3: dropped 4/5 ("media: v4l2: move v4l_fill_fmtdesc to common v4l2_fill_fmtdesc function")

Marek Vasut (1):
  media: uvcvideo: Add GUID for BGRA/X 8:8:8:8

Michael Grzeschik (4):
  usb: uvc: move media/v4l2-uvc.h to usb/uvc.h
  usb: uvc: move uvc_fmts and uvc_format_by_guid to own compile unit
  usb: uvc: make uvc_format_desc table const
  usb: uvc: use v4l2_fill_fmtdesc instead of open coded format name

 drivers/media/common/Kconfig                  |   3 +
 drivers/media/common/Makefile                 |   1 +
 drivers/media/common/uvc.c                    | 183 +++++++++++++++
 drivers/media/usb/uvc/Kconfig                 |   1 +
 drivers/media/usb/uvc/uvc_ctrl.c              |   2 +-
 drivers/media/usb/uvc/uvc_driver.c            |   4 +-
 drivers/usb/gadget/Kconfig                    |   1 +
 drivers/usb/gadget/function/uvc_v4l2.c        |  16 +-
 include/{media/v4l2-uvc.h => linux/usb/uvc.h} | 209 +-----------------
 9 files changed, 201 insertions(+), 219 deletions(-)
 create mode 100644 drivers/media/common/uvc.c
 rename include/{media/v4l2-uvc.h => linux/usb/uvc.h} (59%)

Comments

Greg KH Jan. 31, 2023, 8:41 a.m. UTC | #1
On Fri, Jan 27, 2023 at 12:14:51AM +0100, Michael Grzeschik wrote:
> This series is improving the use of the uvc_format_desc
> in v4l2-uvc.h and also reuses the declarative strings from
> v4l_fill_fmtdesc.
> 
> This series applies on
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git media-uvc-next-20230115
> 
> which has been merged in the Linux media tree for v6.3 (as shown by
> https://git.linuxtv.org/media_stage.git/commit/?id=82adfe34694c98f1115a7b75cff6af9c4a35dba9).

I've merged that git tag into my usb-next branch and taken this series
as well.  Thanks for sticking with this, and sorry for the complexity in
getting it merged properly.


greg k-h