From: Frank Schaefer Date: Thu, 27 Dec 2012 22:02:44 +0000 (-0300) Subject: [media] em28xx: refactor the code in em28xx_usb_disconnect() X-Git-Tag: v3.9-rc1~93^2~299 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05fe2175cf87da8a5475aed422bd636475ab0412;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed