[media] cx18: fix register range check
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 10:00:08 +0000 (07:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:15:43 +0000 (09:15 -0300)
commit771d77339b0f7a236d1fc0ef414469b4282b47a9
tree2e2adb10aa7b3a8b5cb8a277967678733a88cef9
parent15c4fee344eb0b8a4d13a351220e337f2e929779
[media] cx18: fix register range check

Ensure that the register is aligned to a dword, otherwise the range check
could fail since it assumes dword alignment.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx18/cx18-ioctl.c