[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)
commit823eebac89f7adef3fb75e2a68e9e88be9b4afbe
tree2942164766f6e7a568b1be244d5eecf6319fce9a
parentd496eb8ae49e4fbaae43ac2115db0efe20d37556
[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