[PATCH] staging: rtl8712: Improve suspend/resume functionality.

2015-12-03 Thread Hemmo Nieminen
Cancel pending URBs during suspend operation to avoid receiving ESHUTDOWN in read/write completion callbacks while the device is suspended. Receiving ESHUTDOWN in read/write completion callbacks will cause the driver to enter a non-functioning "stopped" state from which the driver is unable to rec

[PATCH] staging: rtl8712: Improve suspend/resume functionality.

2016-02-16 Thread Hemmo Nieminen
Fix a driver hang caused by earlier suspend/resume cycles. By handling a ENODEV error during suspend as a real error we eventually end up stopping the whole driver. Fix this by handling the ENODEV error (during suspend) essentially by retrying. Signed-off-by: Hemmo Nieminen --- drivers/staging/

Re: [PATCH] staging: rtl8712: Improve suspend/resume functionality.

2016-02-17 Thread Larry Finger
On 02/16/2016 03:20 PM, Hemmo Nieminen wrote: Fix a driver hang caused by earlier suspend/resume cycles. By handling a ENODEV error during suspend as a real error we eventually end up stopping the whole driver. Fix this by handling the ENODEV error (during suspend) essentially by retrying. Sign

Re: [PATCH] staging: rtl8712: Improve suspend/resume functionality.

2016-02-19 Thread Dan Carpenter
Run your patch through scripts/checkpatch.pl ERROR: that open brace { should be on the previous line regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel