On 13 October 2016 at 20:17, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
> @@ -241,6 +241,9 @@ int dwc3_send_gadget_ep_cmd(struct dwc3_ep
> *dep, unsigned cmd,
> int susphy = false;
On 13 October 2016 at 20:17, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
> @@ -241,6 +241,9 @@ int dwc3_send_gadget_ep_cmd(struct dwc3_ep
> *dep, unsigned cmd,
> int susphy = false;
> int
Hi,
Baolin Wang writes:
@@ -241,6 +241,9 @@ int dwc3_send_gadget_ep_cmd(struct dwc3_ep
*dep, unsigned cmd,
int susphy = false;
int ret = -EINVAL;
Hi,
Baolin Wang writes:
@@ -241,6 +241,9 @@ int dwc3_send_gadget_ep_cmd(struct dwc3_ep
*dep, unsigned cmd,
int susphy = false;
int ret = -EINVAL;
+ if
Hi Felipe,
On 13 October 2016 at 19:22, Felipe Balbi wrote:
>
> Hi,
>
> Janusz Dziedzic writes:
Baolin Wang writes:
>>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>>> index
Hi Felipe,
On 13 October 2016 at 19:22, Felipe Balbi wrote:
>
> Hi,
>
> Janusz Dziedzic writes:
Baolin Wang writes:
>>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>>> index 1783406..ca2ae5b 100644
>>> --- a/drivers/usb/dwc3/gadget.c
Hi,
On 13 October 2016 at 19:22, Felipe Balbi wrote:
>
> Hi,
>
> Janusz Dziedzic writes:
Baolin Wang writes:
>>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>>> index
Hi,
On 13 October 2016 at 19:22, Felipe Balbi wrote:
>
> Hi,
>
> Janusz Dziedzic writes:
Baolin Wang writes:
>>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>>> index 1783406..ca2ae5b 100644
>>> --- a/drivers/usb/dwc3/gadget.c
>>> +++
Hi,
Janusz Dziedzic writes:
>>> Baolin Wang writes:
>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>> index 1783406..ca2ae5b 100644
>> --- a/drivers/usb/dwc3/gadget.c
>> +++
Hi,
Janusz Dziedzic writes:
>>> Baolin Wang writes:
>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>> index 1783406..ca2ae5b 100644
>> --- a/drivers/usb/dwc3/gadget.c
>> +++ b/drivers/usb/dwc3/gadget.c
>> @@ -241,6 +241,9 @@ int
On 13 October 2016 at 12:41, Baolin Wang wrote:
> On 13 October 2016 at 17:49, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang writes:
> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
> index
On 13 October 2016 at 12:41, Baolin Wang wrote:
> On 13 October 2016 at 17:49, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang writes:
> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
> index 1783406..ca2ae5b 100644
> --- a/drivers/usb/dwc3/gadget.c
On 13 October 2016 at 17:49, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 1783406..ca2ae5b 100644
--- a/drivers/usb/dwc3/gadget.c
+++
On 13 October 2016 at 17:49, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 1783406..ca2ae5b 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -241,6
Hi,
Baolin Wang writes:
>>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>>> index 1783406..ca2ae5b 100644
>>> --- a/drivers/usb/dwc3/gadget.c
>>> +++ b/drivers/usb/dwc3/gadget.c
>>> @@ -241,6 +241,9 @@ int
Hi,
Baolin Wang writes:
>>> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
>>> index 1783406..ca2ae5b 100644
>>> --- a/drivers/usb/dwc3/gadget.c
>>> +++ b/drivers/usb/dwc3/gadget.c
>>> @@ -241,6 +241,9 @@ int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep,
On 13 October 2016 at 10:21, Baolin Wang wrote:
> Hi,
>
> On 13 October 2016 at 16:16, Janusz Dziedzic
> wrote:
>> On 13 October 2016 at 09:37, Baolin Wang wrote:
>>> Hi,
>>>
>>> On 13 October 2016 at 15:06, Felipe
On 13 October 2016 at 10:21, Baolin Wang wrote:
> Hi,
>
> On 13 October 2016 at 16:16, Janusz Dziedzic
> wrote:
>> On 13 October 2016 at 09:37, Baolin Wang wrote:
>>> Hi,
>>>
>>> On 13 October 2016 at 15:06, Felipe Balbi wrote:
Hi,
Baolin Wang writes:
> When system
On 13 October 2016 at 16:28, Janusz Dziedzic wrote:
> On 13 October 2016 at 10:21, Baolin Wang wrote:
>> Hi,
>>
>> On 13 October 2016 at 16:16, Janusz Dziedzic
>> wrote:
>>> On 13 October 2016 at 09:37, Baolin Wang
On 13 October 2016 at 16:28, Janusz Dziedzic wrote:
> On 13 October 2016 at 10:21, Baolin Wang wrote:
>> Hi,
>>
>> On 13 October 2016 at 16:16, Janusz Dziedzic
>> wrote:
>>> On 13 October 2016 at 09:37, Baolin Wang wrote:
Hi,
On 13 October 2016 at 15:06, Felipe Balbi wrote:
Hi,
On 13 October 2016 at 16:16, Janusz Dziedzic wrote:
> On 13 October 2016 at 09:37, Baolin Wang wrote:
>> Hi,
>>
>> On 13 October 2016 at 15:06, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Baolin Wang
Hi,
On 13 October 2016 at 16:16, Janusz Dziedzic wrote:
> On 13 October 2016 at 09:37, Baolin Wang wrote:
>> Hi,
>>
>> On 13 October 2016 at 15:06, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Baolin Wang writes:
When system has stpped the gadget, we should avoid queuing any requests
>>>
>>>
On 13 October 2016 at 09:37, Baolin Wang wrote:
> Hi,
>
> On 13 October 2016 at 15:06, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang writes:
>>> When system has stpped the gadget, we should avoid queuing any requests
>>
>>
On 13 October 2016 at 09:37, Baolin Wang wrote:
> Hi,
>
> On 13 October 2016 at 15:06, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang writes:
>>> When system has stpped the gadget, we should avoid queuing any requests
>>
>> queueing is *not* a problem. Starting is. In fact, that's what your
>>
Hi,
On 13 October 2016 at 15:06, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
>> When system has stpped the gadget, we should avoid queuing any requests
>
> queueing is *not* a problem. Starting is. In fact, that's what your
> patch is doing.
Hi,
On 13 October 2016 at 15:06, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
>> When system has stpped the gadget, we should avoid queuing any requests
>
> queueing is *not* a problem. Starting is. In fact, that's what your
> patch is doing.
OK.
>
>> which will cause tranfer failed.
Hi,
Baolin Wang writes:
> When system has stpped the gadget, we should avoid queuing any requests
queueing is *not* a problem. Starting is. In fact, that's what your
patch is doing.
> which will cause tranfer failed. Thus adding some disconnect checking to
Hi,
Baolin Wang writes:
> When system has stpped the gadget, we should avoid queuing any requests
queueing is *not* a problem. Starting is. In fact, that's what your
patch is doing.
> which will cause tranfer failed. Thus adding some disconnect checking to
^^^
When system has stpped the gadget, we should avoid queuing any requests
which will cause tranfer failed. Thus adding some disconnect checking to
avoid this situation.
Signed-off-by: Baolin Wang
---
Changes since v2:
- Move disconnect checking into
When system has stpped the gadget, we should avoid queuing any requests
which will cause tranfer failed. Thus adding some disconnect checking to
avoid this situation.
Signed-off-by: Baolin Wang
---
Changes since v2:
- Move disconnect checking into dwc3_send_gadget_ep_cmd().
- Rename completion
When system has stpped the gadget, we should avoid queuing any requests
which will cause tranfer failed. Thus adding some disconnect checking to
avoid this situation.
Signed-off-by: Baolin Wang
---
Changes since v2:
- Move disconnect checking into
When system has stpped the gadget, we should avoid queuing any requests
which will cause tranfer failed. Thus adding some disconnect checking to
avoid this situation.
Signed-off-by: Baolin Wang
---
Changes since v2:
- Move disconnect checking into dwc3_send_gadget_ep_cmd().
- Rename completion
32 matches
Mail list logo