[media] adv7604: Don't ignore pad number in subdev DV timings pad operations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 24 May 2016 11:53:39 +0000 (08:53 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 28 Jun 2016 11:02:39 +0000 (08:02 -0300)
commit9c41e6908660f5d94aac9e63ca673f3fb9ccfc71
treea92e86d2c4b7c4cbd72f45c08279247fae3d5662
parent81ea4829096a06b4b5f59ec1071443629c956d90
[media] adv7604: Don't ignore pad number in subdev DV timings pad operations

The dv_timings_cap() and enum_dv_timings() pad operations take a pad
number as an input argument and return the DV timings capabilities and
list of supported DV timings for that pad.

Commit bd3e275f3ec0 ("[media] media: i2c: adv7604: Use v4l2-dv-timings
helpers") broke this as it started ignoring the pad number, always
returning the information associated with the currently selected input.
Fix it.

Fixes: bd3e275f3ec0 ("[media] media: i2c: adv7604: Use v4l2-dv-timings helpers")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7604.c
This page took 0.025592 seconds and 5 git commands to generate.