[media] mxb: check register address when reading/writing a register
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 10:00:00 +0000 (07:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 11:53:48 +0000 (08:53 -0300)
commitd2cac168160aa7afd472d4a04d0da3f146243710
treee3cb6db23cc8060f882fd91d6b35ba355a909375
parentb83007024219c0135aa18ca5e756b3935c3b8e31
[media] mxb: check register address when reading/writing a register

Prevent out-of-range register accesses.

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