From: Hans Verkuil Date: Wed, 29 Dec 2010 17:29:55 +0000 (-0300) Subject: [media] v4l: fix handling of v4l2_input.capabilities X-Git-Tag: v2.6.38-rc1~470^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=657f2271050beabe725ba101c1d840f51a41f33d;p=pandora-kernel.git [media] v4l: fix handling of v4l2_input.capabilities The v4l core sets the v4l2_input.capabilities field based on the supplied v4l2_ioctl_ops. However, several drivers do a memset or memcpy of the v4l2_input struct, thus overwriting that field incorrectly. Either remove the memset (which is already done by the v4l core), or add the proper capabilities field in case of a memcpy. The same is also true for v4l2_output, but that only affected the ivtv driver. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed