oved.
>
> Cc: Heikki Krogerus
> Cc: Guenter Roeck
> Cc: Hans de Goede
> Cc: Yueyao Zhu
> Cc: Rui Miguel Silva
> Signed-off-by: Greg Kroah-Hartman
> ---
Acked-by: Rui Miguel Silva
---
Cheers,
Rui
> drivers/usb/typec/fusb302/fusb302.c | 10 --
> d
n the file
> itself.
>
> The SPDX identifier is a legally binding shorthand, which can be used
> instead of the full boiler plate text.
>
> Cc: Heikki Krogerus
> Cc: Guenter Roeck
> Cc: Hans de Goede
> Cc: Yueyao Zhu
> Cc: Rui Miguel Silva
> Cc: Thomas Gleixner
>
Hi Alan,
On Wed, Jul 08, 2015 at 10:43:48AM -0400, Alan Stern wrote:
On Wed, 8 Jul 2015, Rui Miguel Silva wrote:
>> --- a/drivers/usb/gadget/udc/dummy_hcd.c
>> +++ b/drivers/usb/gadget/udc/dummy_hcd.c
>> @@ -1367,8 +1367,10 @@ top:
>>/* many requests t
Hi Alan,
On Tue, Jul 07, 2015 at 01:53:14PM -0400, Alan Stern wrote:
On Tue, 7 Jul 2015, Rui Miguel Silva wrote:
When the request actual state is equal to lenght, besides setting the
"state"? Do you mean "status"?
"lenght" is a typo.
request status to done,
Hi Alan,
On Tue, Jul 07, 2015 at 02:07:48PM -0400, Alan Stern wrote:
On Tue, 7 Jul 2015, Rui Miguel Silva wrote:
When processing urb list in dummy_timer and an ep goes away, the urb
is giveback with an -EPROTO error. However the same urb can be
enqueued once again and the loop in dummy_timer
.
Signed-off-by: Rui Miguel Silva
---
drivers/usb/gadget/udc/dummy_hcd.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/dummy_hcd.c
b/drivers/usb/gadget/udc/dummy_hcd.c
index f5400b8..30f1563 100644
--- a/drivers/usb/gadget/udc/dummy_hcd.c
+++ b
When the request actual state is equal to lenght, besides setting the
request status to done, the status variable also need to be updated.
If not, the status will be EINPROGRESS and the transfer will never be
set as completed.
Signed-off-by: Rui Miguel Silva
---
drivers/usb/gadget/udc
ned-off-by: Rui Miguel Silva
---
changes v1 -> v2:
* Requested by Felipe Balbi:
- add a more complete log message
- include Al Viro in cc.
drivers/usb/gadget/function/f_fs.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/function/f_fs.c
b/d
ffs_closed can race with configfs_rmdir which will call config_item_release, so
add an extra check to avoid calling the unregister_gadget_item with an null
gadget item.
Signed-off-by: Rui Miguel Silva
---
drivers/usb/gadget/function/f_fs.c | 10 --
1 file changed, 8 insertions(+), 2