Skip to content

Some improvements/fixes

Mauro Carvalho Chehab linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11v4l2-mc.h: prevent it for being included twiceinclude/media/v4l2-mc.h+5 -01 reply
2/11v4l2-mc: add a routine to create USB media_devicedrivers/media/v4l2-core/v4l2-mc.c include/media/v4l2-mc.h+74 -61 reply
3/11rc-core: don't lock device at rc_register_device()drivers/media/rc/rc-main.c include/media/rc-core.h+28 -190 replies
4/11allow overriding the driver namedrivers/media/media-device.c include/media/media-device.h+10 -10 replies
5/11use v4l2_mc_usb_media_device_init() on most USB devicesdrivers/media/usb/au0828/au0828-core.c drivers/media/usb/cx231xx/cx231xx-cards.c drivers/media/usb/dvb-usb-v2/dvb_usb_core.c +3 more+18 -650 replies
6/11v4l2-mc: use usb_make_path() to provide bus infodrivers/media/v4l2-core/v4l2-mc.c+1 -11 reply
7/11em28xx-dvb: create RF connector on DVB-only modedrivers/media/usb/em28xx/em28xx-dvb.c drivers/media/usb/em28xx/em28xx-video.c+8 -20 replies
8/11cx231xx: use v4l2 core function to create the MC graphdrivers/media/usb/cx231xx/cx231xx-cards.c+1 -460 replies
9/11si2157: register as a tuner entitydrivers/media/tuners/si2157.c drivers/media/tuners/si2157.h drivers/media/tuners/si2157_priv.h+44 -10 replies
10/11cx231xx, em28xx: pass media_device to si2157drivers/media/usb/cx231xx/cx231xx-dvb.c drivers/media/usb/em28xx/em28xx-dvb.c+12 -00 replies
11/11cx231xx: create connectors at the media graphdrivers/media/usb/cx231xx/cx231xx-cards.c drivers/media/usb/cx231xx/cx231xx-dvb.c drivers/media/usb/cx231xx/cx231xx-video.c +1 more+55 -10 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchHans Verkuil
1/11A-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] Some improvements/fixes

I'm testing the Media Controller graph on some of my boards. While here, I noticed some troubles when producing the graphs.

This series address them.

PS.: I'm storing the graphs of the boards I've tested at:
https://mchehab.fedorapeople.org/mc-next-gen/?C=M;O=D

I improved the v4l2-utils tool that produces the graph (contrib/test/mc_nextgen_test) to add a title on each graph. So, the files after 2016-02-12 will contain the info provided by MEDIA_IOC_DEVICE_INFO ioctl.

Mauro Carvalho Chehab (11):
[media] v4l2-mc.h: prevent it for being included twice [media] v4l2-mc: add a routine to create USB media_device [media] rc-core: don't lock device at rc_register_device() [media] allow overriding the driver name
[media] use v4l2_mc_usb_media_device_init() on most USB devices [media] v4l2-mc: use usb_make_path() to provide bus info [media] em28xx-dvb: create RF connector on DVB-only mode [media] cx231xx: use v4l2 core function to create the MC graph [media] si2157: register as a tuner entity
[media] cx231xx, em28xx: pass media_device to si2157 [media] cx231xx: create connectors at the media graph

 drivers/media/media-device.c                |  6 ++-
 drivers/media/rc/rc-main.c                  | 45 ++++++++++++---------
 drivers/media/tuners/si2157.c               | 32 ++++++++++++++-
 drivers/media/tuners/si2157.h               |  5 +++
 drivers/media/tuners/si2157_priv.h          |  8 ++++
 drivers/media/usb/au0828/au0828-core.c      | 19 ++-------
 drivers/media/usb/cx231xx/cx231xx-cards.c   | 62 +++--------------------------
 drivers/media/usb/cx231xx/cx231xx-dvb.c     | 10 ++++-
 drivers/media/usb/cx231xx/cx231xx-video.c   | 46 +++++++++++++++++++++
 drivers/media/usb/cx231xx/cx231xx.h         |  3 ++
 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 13 +-----
 drivers/media/usb/dvb-usb/dvb-usb-dvb.c     | 15 +------
 drivers/media/usb/em28xx/em28xx-cards.c     | 23 ++++-------
 drivers/media/usb/em28xx/em28xx-dvb.c       | 13 +++++-
 drivers/media/usb/em28xx/em28xx-video.c     |  3 +-
 drivers/media/usb/siano/smsusb.c            |  1 +
 drivers/media/v4l2-core/v4l2-mc.c           | 41 ++++++++++++++++++-
 include/media/media-device.h                |  5 +++
 include/media/rc-core.h                     |  2 +
 include/media/v4l2-mc.h                     | 44 +++++++++++++++++---
 20 files changed, 255 insertions(+), 141 deletions(-)
Signature · 1 line
2.5.0