From: Hans Verkuil Date: Mon, 18 Mar 2013 15:16:34 +0000 (-0300) Subject: [media] v4l2: add new VIDIOC_DBG_G_CHIP_NAME ioctl X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b0c6400517456935f84f8d46c8bb0cf73f1813;p=pandora-kernel.git [media] v4l2: add new VIDIOC_DBG_G_CHIP_NAME ioctl Simplify the debugging ioctls by creating the VIDIOC_DBG_G_CHIP_NAME ioctl. This will eventually replace VIDIOC_DBG_G_CHIP_IDENT. Chip matching is done by the name or index of subdevices or an index to a bridge chip. Most of this can all be done automatically, so most drivers just need to provide get/set register ops. In particular, it is now possible to get/set subdev registers without requiring assistance of the bridge driver. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed