]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10700): saa7115: don't access reg 0x87 if it is not present.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Feb 2009 15:22:16 +0000 (12:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:54 +0000 (12:42 -0300)
commit674a323218ab0b0be100b51c251a72787b5c9e3a
tree6e69635ebea119dca9de7236550d5977220ce3f6
parent10afbef15e7bba5e1008f583852077743d28c395
V4L/DVB (10700): saa7115: don't access reg 0x87 if it is not present.

Devices like the saa7111 do not have this register, so check for this
before using it.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7115.c