V4L/DVB (3738): Saa7134: Fix oops with disable_ir=1
authorSergey Vlasov <vsu@altlinux.ru>
Fri, 7 Apr 2006 13:04:56 +0000 (10:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 12 May 2006 22:54:41 +0000 (19:54 -0300)
When disable_ir=1 parameter is used, or when saa7134_input_init1()
fails for any other reason, dev->remote will remain NULL, and the
driver will oops in saa7134_hwinit2().  Therefore dev->remote must be
checked before dereferencing.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found