]> 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 12:09:33 +0000 (09:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 7 Jun 2016 18:33:54 +0000 (15:33 -0300)
commit08f469af865b905587cb69e7c0ff873943f885ee
treecda473768308d7a3fd4d18234260f424023b3696
parent9c3c99ce11f31cf947173e7fca1eca028ea1881e
[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>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.6
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7604.c