usb_wwan_write() called while device still being resumed

2013-02-14 Thread Alex Courbot
Hi everyone, I have this pretty weird issue on Android 3.1 kernel and would really appreciate some insight that would allow me to figure it out. Could not find any reference to a similar problem so I am seeking your advice. The board features a USB GSM modem using the usb_wwan module. Once in

Re: usb_wwan_write() called while device still being resumed

2013-02-15 Thread Alex Courbot
, 14 Feb 2013 18:34:48 +0100 Subject: [PATCH] USB: usb_wwan: clear port busy state on error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: Alex Courbot Signed-off-by: Bjørn Mork --- drivers/usb/serial/usb_wwan.c |4 +++- 1 file changed

Re: usb_wwan_write() called while device still being resumed

2013-02-17 Thread Alex Courbot
On 02/15/2013 08:05 PM, Bjørn Mork wrote: Alex Courbot writes: Unfortunately it does not, and fails the same way. On the other hand, I do not see the issue when doing the following: diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index e4fad5e..1490029 100644 --- a

Re: usb_wwan_write() called while device still being resumed

2013-02-17 Thread Alex Courbot
On 02/15/2013 08:05 PM, Bjørn Mork wrote: Maybe something like the completely untested: diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c index 3148b10..38e19ba 100644 --- a/drivers/base/power/runtime.c +++ b/drivers/base/power/runtime.c @@ -512,6 +512,9 @@ static int rpm_