mbox series

[v2,0/4] uvc: Restore old vdev name

Message ID 20211207003840.1212374-1-ribalda@chromium.org
Headers show
Series uvc: Restore old vdev name | expand

Message

Ricardo Ribalda Dec. 7, 2021, 12:38 a.m. UTC
In order to have unique entity names, we decided to change the name of
the video devices with their functionality.

This has resulted in some (all?) GUIs showing not useful names.

This patchset reverts the original patch and introduces a new one to
allow having different entity and vdev names.

Since some distros have ported the reverted patch to their stable
kernels, it would be great if we can get this sent asap, to avoid making
more people angry ;).

v2:
 - Add Documentation
 - Mark maybe unused variables as __maybe_unused
 - Add Suggested-by

Ricardo Ribalda (4):
  Revert "media: uvcvideo: Set unique vdev name based in type"
  media: v4l2-dev.c: Allow driver-defined entity names
  media: Documentation/driver-api: Document entity name
  media: uvcvideo: Set unique entity name based in type

 Documentation/driver-api/media/v4l2-dev.rst |  4 ++++
 drivers/media/usb/uvc/uvc_driver.c          | 14 +++++++++++---
 drivers/media/v4l2-core/v4l2-dev.c          |  4 +++-
 3 files changed, 18 insertions(+), 4 deletions(-)