[media] bttv: add VIDIOC_DBG_G_CHIP_IDENT
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 9 Sep 2012 12:23:31 +0000 (09:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:00:16 +0000 (14:00 -0300)
commit1b9e94dc69959e963fe57ede46259f792641af4d
treead4c224da8280c427076aff7d3e20914bf2be3ea
parent78dea1aed44a6e3e16973e584b00825359d470bd
[media] bttv: add VIDIOC_DBG_G_CHIP_IDENT

VIDIOC_DBG_G_CHIP_IDENT is a prerequisite for the G/S_REGISTER ioctls.
In addition, add support to call G/S_REGISTER for supporting i2c devices.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/pci/bt8xx/bttv.h
include/media/v4l2-chip-ident.h