]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dvb_usb_v2: probe/disconnect error handling
authorAntti Palosaari <crope@iki.fi>
Sun, 10 Jun 2012 02:42:47 +0000 (23:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:29 +0000 (07:56 -0300)
commitce8d3818e92b1466b9e18d0a6e88e24b1ffda353
tree2942164766f6e7a568b1be244d5eecf6319fce9a
parent17a2060e8d5c3c0a1af52a262bcf2da2e7a81ec6
[media] dvb_usb_v2: probe/disconnect error handling

In my understanding we never call .disconnect() when .probe()
returns error. Change .probe() to return error all cases it cannot
handle given interface and simplify .disconnect() handling.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb_init.c