]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: v4l2-subdev: Add pad versions of dv timing subdev calls
authorPaweł Anikiel <panikiel@google.com>
Fri, 5 Apr 2024 14:13:56 +0000 (14:13 +0000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 9 Apr 2024 06:15:03 +0000 (08:15 +0200)
commit009e12561369e2fcb992af47001a06f016e9d6b5
tree9cca0daedac2e806849fdd28061a467f3d5c33c1
parent682f4968084a3d3eed08718b23fe9b6777dd6c2a
media: v4l2-subdev: Add pad versions of dv timing subdev calls

Currently, subdev dv timing calls (i.e. g/s/query_dv_timings) are video
ops without a pad argument. This is a problem if the subdevice can have
different dv timings for each pad (e.g. a DisplayPort receiver with
multiple virtual channels).

To solve this, change these calls to include a pad argument, and put
them into pad ops. Keep the old ones temporarily to make the switch
easier.

Signed-off-by: Paweł Anikiel <panikiel@google.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/v4l2-core/v4l2-subdev.c
include/media/v4l2-subdev.h