Re: [PATCH] ax88179_178a: don't send commands to detached device

2014-05-14 Thread Alan Stern
On Wed, 14 May 2014, Emil Goode wrote: > The .stop and .unbind callbacks of struct driver_info are > called even after a DETACH hot-plug event. In the case of > the ax88179_178a minidriver we need to make sure we are not > trying to send commands to a device that has been detached. > This leads to

[PATCH] ax88179_178a: don't send commands to detached device

2014-05-14 Thread Emil Goode
The .stop and .unbind callbacks of struct driver_info are called even after a DETACH hot-plug event. In the case of the ax88179_178a minidriver we need to make sure we are not trying to send commands to a device that has been detached. This leads to failure messages like below. ax88179_178a 1-1.3: