diff options
author | Frank Schaefer <fschaefer.oss@googlemail.com> | 2012-12-27 17:02:44 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-04 22:10:13 -0500 |
commit | 05fe2175cf87da8a5475aed422bd636475ab0412 (patch) | |
tree | 05e45951c6771bf6ebd614ec92bda62d3c5dc11e /sound | |
parent | 2665c2995d6a6026cfc9ec118908dfccb74fb5e0 (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 'sound')
0 files changed, 0 insertions, 0 deletions