[PATCH 0/6] Various rcar-vin and adv* fixes

Hans Verkuil
2016-04-22T13:03:49Z

While testing Niklas' new rcar-vin driver I found various problems
that is fixed in this patch series.

The main problem is the adv7180 driver which was simply broken when
it comes to detecting standards. This should now be fixed (at least
it works for me now).

As a result the sta2x11_vip driver needed to be changed as well.

The new rcar-vin driver driver didn't support the source change event.
While not relevant for the adv7180 driver (at least on the Koelsch
board the irq from that chip isn't hooked up), it certainly is needed
for the adv7612 driver. It doesn't hurt to add it here.

Niklas, just fold it in your patch.

The v4l2-compliance test complained about a missing V4L2_CID_DV_RX_POWER_PRESENT
control. This was because that control was marked private. The reality
is that that makes no sense and the control should just be inherited by
the rcar-vin driver. In practice making this private is just annoying.

The last patch is an rcar-vin bug fix. Niklas, just fold it in your
patch for the v8.

Niklas, Federico, can you both check the adv7180 changes?

Regards,

Hans

Hans Verkuil (6):
adv7180: fix broken standards handling
sta2x11_vip: fix s_std
rcar-vin: support the source change event and fix s_std
tc358743: drop bogus comment
media/i2c/adv*: make controls inheritable instead of private
rcar-vin: failed start_streaming didn't call s_stream(0)

drivers/media/i2c/ad9389b.c | 8 --
drivers/media/i2c/adv7180.c | 118 +++++++++++++++++++---------
drivers/media/i2c/adv7511.c | 6 --
drivers/media/i2c/adv7604.c | 8 --
drivers/media/i2c/adv7842.c | 6 --
drivers/media/i2c/tc358743.c | 1 -
drivers/media/pci/sta2x11/sta2x11_vip.c | 26 +++---
drivers/media/platform/rcar-vin/rcar-dma.c | 4 +-
drivers/media/platform/rcar-vin/rcar-v4l2.c | 48 ++++++++++-
9 files changed, 139 insertions(+), 86 deletions(-)

--
2.8.0.rc3