]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dvb_usb_v2: fix error handling for .tuner_attach()
authorAntti Palosaari <crope@iki.fi>
Sat, 22 Sep 2012 02:23:49 +0000 (23:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Sep 2012 18:16:31 +0000 (15:16 -0300)
commitb9f4cdbc7c4567e67e9f5858f889cef1d3e81458
tree77fbe44df50ca401f79e48eb42e4f6649cb404a8
parent92b3a9537c1076869fae84c8734d403e5c03cebe
[media] dvb_usb_v2: fix error handling for .tuner_attach()

fe was not set NULL after it was destroyed in tuner attach fail
error case. Due to that it was destroyed again and Kernel oopsed.

Reported-by: Oliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c