]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3c54274592afed250211a2c3a107c048d35caadb
treea92e86d2c4b7c4cbd72f45c08279247fae3d5662
parent521eeae38157c7cc64d1822f49b4d44d482afff4
[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 e7667d17ad2d ("[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: e7667d17ad2d ("[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