]> git.karo-electronics.de Git - linux-beck.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)
commit2a858486e0406110541e13f07d00665ee0c08a54
tree77fbe44df50ca401f79e48eb42e4f6649cb404a8
parent132f56fb3c83c032cd75cd99c2967905e65f8684
[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