upstream: [media] ivtv: fix register range check
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 10:00:10 +0000 (07:00 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:19 +0000 (11:48 +0900)
commit86cf807bb61c269ebbbc843c03549e024b157a90
tree095a455c2bc4fb89012c115db9653f82872848dd
parent491050019aaeecbdf3f09cd8aa4f787438313ce3
upstream: [media] ivtv: 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/ivtv/ivtv-ioctl.c