[media] v4l2-ctrls: queryctrl shouldn't attempt to replace V4L2_CID_PRIVATE_BASE IDs
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 16 Jan 2011 14:21:40 +0000 (11:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:46:15 +0000 (11:46 -0200)
commit829fb2dcb5252c5064d12cdaf65d2828420e07b3
tree710bd771a4f003afa69c8f379837769f9b51094a
parentc959acfddb3d24ecfdae1a280a7a1785d9df81d1
[media] v4l2-ctrls: queryctrl shouldn't attempt to replace V4L2_CID_PRIVATE_BASE IDs

When queryctrl is called with a V4L2_CID_PRIVATE_BASE control ID, then
currently it is replaced by the real internal ID. This is not according to
the spec so keep the V4L2_CID_PRIVATE_BASE ID in this case.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c