[media] v4l2-ioctl: dbg_g/s_register: only match BRIDGE and SUBDEV types
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 09:59:34 +0000 (06:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 14:45:42 +0000 (11:45 -0300)
commit191b79b0883cb0e604ba63fb3f85cf50ecfc9dc3
tree398b5e9cee2176642b664421ebfeca3a4511d2b1
parentdd8c393b3c39f7ebd9ad69ce50cc836773d512b6
[media] v4l2-ioctl: dbg_g/s_register: only match BRIDGE and SUBDEV types

Drop support for V4L2_CHIP_MATCH_I2C_DRIVER/ADDR and V4L2_CHIP_MATCH_AC97
types. The following patches will remove support for those in the drivers
as well.
This means that bridge drivers no longer have to check for the match.type
field in their g/s_register implementations. Only if they also implement
g_chip_info do they still have to check the match.addr field, otherwise the
core will check for that as well.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/v4l2-ioctl.c