Re: [PATCH 2/6] em28xx: refactor the code in em28xx_usb_disconnect()

2013-01-02 Thread Frank Schäfer
Am 02.01.2013 20:40, schrieb Antti Palosaari: > On 12/28/2012 01:02 AM, Frank Schäfer wrote: >> 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

Re: [PATCH 2/6] em28xx: refactor the code in em28xx_usb_disconnect()

2013-01-02 Thread Antti Palosaari
On 12/28/2012 01:02 AM, Frank Schäfer wrote: 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 ma

[PATCH 2/6] em28xx: refactor the code in em28xx_usb_disconnect()

2012-12-27 Thread Frank Schäfer
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 f