From: Hans Verkuil Date: Sun, 16 Jan 2011 14:03:28 +0000 (-0300) Subject: [media] v4l2-ctrls: fix missing 'read-only' check X-Git-Tag: v2.6.38-rc2~1^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c959acfddb3d24ecfdae1a280a7a1785d9df81d1;p=pandora-kernel.git [media] v4l2-ctrls: fix missing 'read-only' check VIDIOC_S_CTRL did not check against read-only controls. Even worse, for controls of type CTRL_CLASS it would cause a kernel oops since those controls do not have a s_ctrl op. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed