[media] v4l2-ioctl.c: fix overlay support
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 4 Sep 2012 13:08:01 +0000 (10:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 17:56:42 +0000 (14:56 -0300)
commit737c097b9aed92906b4bb9f90f05eb4d5696f572
tree70398985fa6e9793659a732974460e651103b905
parentf39a0dd62a1a0e674078c3273977bf055a21f80d
[media] v4l2-ioctl.c: fix overlay support

The vidioc_overlay op needs an unsigned int, not an unsigned int pointer.
So we need a small function that dereferences the unsigned int pointer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/v4l2-ioctl.c