commit | 7a766f9ddd74b50d6069f054a3004ece0439f5c1 | [log] [tgz] |
---|---|---|
author | Sergey Vlasov <vsu@altlinux.ru> | Fri Apr 07 10:04:56 2006 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Fri May 12 19:54:41 2006 -0300 |
tree | db88a76df1cf9dade1804bba8f1175a6556939e5 | |
parent | a7286033f951ebc78527e63f335516ea2f95e142 [diff] |
V4L/DVB (3738): Saa7134: Fix oops with disable_ir=1 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>