Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7a766f9d authored by Sergey Vlasov's avatar Sergey Vlasov Committed by Mauro Carvalho Chehab
Browse files

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: default avatarSergey Vlasov <vsu@altlinux.ru>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent a7286033
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment