aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2012-12-27 17:02:44 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-04 22:10:13 -0500
commit05fe2175cf87da8a5475aed422bd636475ab0412 (patch)
tree05e45951c6771bf6ebd614ec92bda62d3c5dc11e /block
parent2665c2995d6a6026cfc9ec118908dfccb74fb5e0 (diff)
[media] em28xx: refactor the code in em28xx_usb_disconnect()
The main purpose of this patch is to move the call of em28xx_release_resources() after the call of em28xx_close_extension(). This is necessary, because some resources might be needed/used by the extensions fini() functions when they get closed. Also mark the device as disconnected earlier in this function and unify the em28xx_uninit_usb_xfer() calls for analog and digital mode. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions