[media] ivtv: fix register range check
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 10:00:10 +0000 (07:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:17:27 +0000 (09:17 -0300)
commite9dab5897066aa979db5de02d0751db9734bbf71
treee05d56eeaea231f3f7193d549e9f1225bdc40d2a
parent771d77339b0f7a236d1fc0ef414469b4282b47a9
[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