[media] netup_unidvb: fix potential crash when spi is NULL
authorAbylay Ospan <aospan@netup.ru>
Fri, 25 Sep 2015 07:56:21 +0000 (04:56 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 22 Oct 2015 17:48:26 +0000 (15:48 -0200)
commit9d2b064c0ae42ad93b2a0c7da05daef312c96bcc
tree27ca04ceb597ec5d3abccf8940666350ea2033eb
parent47810b4341ac9d2f558894bc5995e6fa2a1298f9
[media] netup_unidvb: fix potential crash when spi is NULL

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/netup_unidvb/netup_unidvb_spi.c