Skip to content

Convert subdevs to the control fw and related fixes

Hans Verkuil linux-media 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19cs5345: use the control frameworkdrivers/media/video/cs5345.c+59 -280 replies
2/19tvaudio: use the control framework, fix vol/balance bugsdrivers/media/video/tvaudio.c+75 -1460 replies
3/19cx18: Use the control framework.drivers/media/video/cx18/cx18-av-audio.c drivers/media/video/cx18/cx18-av-core.c drivers/media/video/cx18/cx18-av-core.h +9 more+160 -5120 replies
4/19adv7343: use control frameworkdrivers/media/video/adv7343.c drivers/media/video/adv7343_regs.h+63 -1120 replies
5/19bt819: use control frameworkdrivers/media/video/bt819.c+49 -800 replies
6/19ov7670: use the control frameworkdrivers/media/video/ov7670.c+116 -1800 replies
7/19saa7110: use control frameworkdrivers/media/video/saa7110.c+46 -690 replies
8/19tda7432: use control frameworkdrivers/media/video/tda7432.c+106 -1710 replies
9/19tda9875: use control frameworkdrivers/media/video/tda9875.c+57 -1350 replies
10/19tlv320aic23b: use control frameworkdrivers/media/video/tlv320aic23b.c+47 -270 replies
11/19tvp514x: use the control frameworkdrivers/media/video/tvp514x.c+57 -1790 replies
12/19tvp5150: use the control frameworkdrivers/media/video/tvp5150.c+46 -1110 replies
13/19vpx3220: use control frameworkdrivers/media/video/vpx3220.c+51 -860 replies
14/19tvp7002: use control frameworkdrivers/media/video/tvp7002.c+43 -740 replies
15/19v4l2-ctrls: use const char * const * for the menu arraysdrivers/media/video/cx2341x.c drivers/media/video/pvrusb2/pvrusb2-ctrl.c drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +5 more+40 -400 replies
16/19vivi: convert to the control framework and add test controls.drivers/media/video/vivi.c+139 -890 replies
17/19v4l: fix handling of v4l2_input.capabilitiesdrivers/media/dvb/ttpci/av7110_v4l.c drivers/media/dvb/ttpci/budget-av.c drivers/media/video/cx18/cx18-cards.c +12 more+32 -410 replies
18/19em28xx: fix incorrect s_ctrl error code and wrong call to res_freedrivers/media/video/em28xx/em28xx-video.c+9 -50 replies
19/19v4l2-ctrls: only check def for menu, integer and boolean controlsdrivers/media/video/v4l2-ctrls.c+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 00/19] Convert subdevs to the control fw and related fixes

This patch series converts a number of subdev drivers to use the control framework. In addition, it also converts the cx18 and vivi drivers to the control framework.

This has been tested with the vivi, cx18 and em28xx drivers.

As a result of these tests bugs relating to ENUM_INPUT/OUTPUT and some incorrect checks in em28xx and the control framework were fixed.

It would be great if someone can check the tvaudio and tda drivers in particular.

Regards,

Hans

Hans Verkuil (19):
cs5345: use the control framework
tvaudio: use the control framework, fix vol/balance bugs
cx18: Use the control framework.
adv7343: use control framework
bt819: use control framework
ov7670: use the control framework
saa7110: use control framework
tda7432: use control framework
tda9875: use control framework
tlv320aic23b: use control framework
tvp514x: use the control framework
tvp5150: use the control framework
vpx3220: use control framework
tvp7002: use control framework
v4l2-ctrls: use const char * const * for the menu arrays
vivi: convert to the control framework and add test controls.
v4l: fix handling of v4l2_input.capabilities
em28xx: fix incorrect s_ctrl error code and wrong call to res_free
v4l2-ctrls: only check def for menu, integer and boolean controls

 drivers/media/dvb/ttpci/av7110_v4l.c               |    4 +
 drivers/media/dvb/ttpci/budget-av.c                |    6 +-
 drivers/media/video/adv7343.c                      |  167 ++++-------
 drivers/media/video/adv7343_regs.h                 |    8 +-
 drivers/media/video/bt819.c                        |  129 ++++------
 drivers/media/video/cs5345.c                       |   87 ++++--
 drivers/media/video/cx18/cx18-av-audio.c           |   92 +------
 drivers/media/video/cx18/cx18-av-core.c            |  162 ++++-------
 drivers/media/video/cx18/cx18-av-core.h            |   12 +-
 drivers/media/video/cx18/cx18-cards.c              |    1 -
 drivers/media/video/cx18/cx18-controls.c           |  285 +++-----------------
 drivers/media/video/cx18/cx18-controls.h           |    7 +-
 drivers/media/video/cx18/cx18-driver.c             |   30 ++-
 drivers/media/video/cx18/cx18-driver.h             |    2 +-
 drivers/media/video/cx18/cx18-fileops.c            |   32 +--
 drivers/media/video/cx18/cx18-ioctl.c              |   24 +-
 drivers/media/video/cx18/cx18-mailbox.c            |    5 +-
 drivers/media/video/cx18/cx18-mailbox.h            |    5 -
 drivers/media/video/cx18/cx18-streams.c            |   16 +-
 drivers/media/video/cx2341x.c                      |    8 +-
 drivers/media/video/cx23885/cx23885-video.c        |    1 -
 drivers/media/video/em28xx/em28xx-video.c          |   14 +-
 drivers/media/video/et61x251/et61x251_core.c       |    1 +
 drivers/media/video/hexium_gemini.c                |   18 +-
 drivers/media/video/hexium_orion.c                 |   18 +-
 drivers/media/video/ivtv/ivtv-cards.c              |    2 -
 drivers/media/video/mxb.c                          |    8 +-
 drivers/media/video/ov7670.c                       |  296 ++++++++------------
 drivers/media/video/pvrusb2/pvrusb2-ctrl.c         |    6 +-
 drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h |    2 +-
 drivers/media/video/saa7110.c                      |  115 +++-----
 drivers/media/video/saa7134/saa7134-video.c        |    1 -
 drivers/media/video/sn9c102/sn9c102_core.c         |    1 +
 drivers/media/video/tda7432.c                      |  277 +++++++-----------
 drivers/media/video/tda9875.c                      |  192 ++++---------
 drivers/media/video/timblogiw.c                    |    1 -
 drivers/media/video/tlv320aic23b.c                 |   74 +++--
 drivers/media/video/tvaudio.c                      |  221 +++++----------
 drivers/media/video/tvp514x.c                      |  236 ++++------------
 drivers/media/video/tvp5150.c                      |  157 +++--------
 drivers/media/video/tvp7002.c                      |  117 +++-----
 drivers/media/video/v4l2-common.c                  |    6 +-
 drivers/media/video/v4l2-ctrls.c                   |   55 ++--
 drivers/media/video/vino.c                         |    3 -
 drivers/media/video/vivi.c                         |  228 +++++++++------
 drivers/media/video/vpx3220.c                      |  137 ++++------
 drivers/media/video/zoran/zoran_driver.c           |    6 -
 drivers/staging/cx25821/cx25821-video.c            |    2 -
 include/media/cx2341x.h                            |    2 +-
 include/media/v4l2-common.h                        |    6 +-
 include/media/v4l2-ctrls.h                         |    4 +-
 51 files changed, 1203 insertions(+), 2086 deletions(-)