]> 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)
commitd55bb4e95ff7a0f3a13734f42687be7eda8579c5
tree2942164766f6e7a568b1be244d5eecf6319fce9a
parent2b115b7f1c438c26f48d5b54dec9be15263cb546
[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