]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx88: fix register mask
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 09:22:02 +0000 (06:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 13:48:18 +0000 (10:48 -0300)
commitfa464506ec0a0ef2cc71597cf0bb8d86a799f35b
tree95cd879ae355ad10c3cae73a72e157298e8318f8
parent1fc75ae7eda8b8f52ef6d4b0d2ffd0e9df610885
[media] cx88: fix register mask

Ensure that the register is aligned to a dword, otherwise the read could
read out-of-range data.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx88/cx88-video.c