Hi,
Roger Quadros writes:
>> When we set up the DWC3_DEPCMD_ENDTRANSFER command in
>> dwc3_stop_active_transfer(), we can do not set DWC3_DEPCMD_CMDIOC,
>> then there will no endpoint command complete interrupts I think.
>>
>> cmd |= DWC3_DEPCMD_CMDIOC;
>
> I remember
Hi,
Roger Quadros writes:
>>> This is what the v3.10 databook says
>>>
>>> "When issuing an End Transfer command, software must set the CmdIOC
>>> bit (field 8) so that an Endpoint Command Complete event is generated
>>> after the transfer ends. This is necessary to synchronize the
>>> conclusio
On 09/03/18 11:26, Roger Quadros wrote:
> On 09/03/18 11:23, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Roger Quadros writes:
>>
>>
>>
> When we set up the DWC3_DEPCMD_ENDTRANSFER command in
> dwc3_stop_active_transfer(), we can do not set DWC3_DEPCMD_CMDIOC,
> then there will no endpoint co
On 09/03/18 11:23, Felipe Balbi wrote:
>
> Hi,
>
> Roger Quadros writes:
>
>
>
When we set up the DWC3_DEPCMD_ENDTRANSFER command in
dwc3_stop_active_transfer(), we can do not set DWC3_DEPCMD_CMDIOC,
then there will no endpoint command complete interrupts I think.
cmd
Hi,
Roger Quadros writes:
>>> When we set up the DWC3_DEPCMD_ENDTRANSFER command in
>>> dwc3_stop_active_transfer(), we can do not set DWC3_DEPCMD_CMDIOC,
>>> then there will no endpoint command complete interrupts I think.
>>>
>>> cmd |= DWC3_DEPCMD_CMDIOC;
>>
>> I remember some part of the
On 05/03/18 13:27, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
>> void dwc3_gadget_exit(struct dwc3 *dwc)
>> {
>> + int epnum;
>> + unsigned long flags;
>> +
>> + spin_lock_irqsave(&dwc->lock, flags);
>> + for (epnum = 2; epnu
Hi,
Baolin Wang writes:
> void dwc3_gadget_exit(struct dwc3 *dwc)
> {
> + int epnum;
> + unsigned long flags;
> +
> + spin_lock_irqsave(&dwc->lock, flags);
> + for (epnum = 2; epnum < DWC3_ENDPOINTS_NUM; epnum++) {
> +
Hi,
Roger Quadros writes:
> On 05/03/18 13:06, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang writes:
> Roger Quadros writes:
>>> Roger Quadros writes:
In the following test we get stuck by sleeping forever in
_dwc3_set_mode()
after which dual-role switc
On 5 March 2018 at 19:14, Roger Quadros wrote:
> On 05/03/18 13:06, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Baolin Wang writes:
> Roger Quadros writes:
>>> Roger Quadros writes:
In the following test we get stuck by sleeping forever in
_dwc3_set_mode()
after whic
On 05/03/18 13:06, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
Roger Quadros writes:
>> Roger Quadros writes:
>>> In the following test we get stuck by sleeping forever in
>>> _dwc3_set_mode()
>>> after which dual-role switching doesn't work.
>>>
>>> On dr
Hi,
Baolin Wang writes:
>>> Roger Quadros writes:
> Roger Quadros writes:
>> In the following test we get stuck by sleeping forever in
>> _dwc3_set_mode()
>> after which dual-role switching doesn't work.
>>
>> On dra7-evm's dual-role port,
>> - Load g_zero gadget d
On 05/03/18 12:41, Baolin Wang wrote:
> Hi Roger,
>
> On 5 March 2018 at 17:45, Roger Quadros wrote:
>> Felipe,
>>
>> On 05/03/18 10:49, Felipe Balbi wrote:
>>>
>>> Hi,
>>>
>>> Roger Quadros writes:
> Roger Quadros writes:
>> In the following test we get stuck by sleeping forever in
>>
Hi Roger,
On 5 March 2018 at 17:45, Roger Quadros wrote:
> Felipe,
>
> On 05/03/18 10:49, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Roger Quadros writes:
Roger Quadros writes:
> In the following test we get stuck by sleeping forever in _dwc3_set_mode()
> after which dual-role switching d
Felipe,
On 05/03/18 10:49, Felipe Balbi wrote:
>
> Hi,
>
> Roger Quadros writes:
>>> Roger Quadros writes:
In the following test we get stuck by sleeping forever in _dwc3_set_mode()
after which dual-role switching doesn't work.
On dra7-evm's dual-role port,
- Load g_ze
Hi,
Roger Quadros writes:
>> Roger Quadros writes:
>>> In the following test we get stuck by sleeping forever in _dwc3_set_mode()
>>> after which dual-role switching doesn't work.
>>>
>>> On dra7-evm's dual-role port,
>>> - Load g_zero gadget driver and enumerate to host
>>> - suspend to mem
>>
Felipe,
On 28/02/18 09:53, Felipe Balbi wrote:
>
> Hi,
>
> Roger Quadros writes:
>> In the following test we get stuck by sleeping forever in _dwc3_set_mode()
>> after which dual-role switching doesn't work.
>>
>> On dra7-evm's dual-role port,
>> - Load g_zero gadget driver and enumerate to hos
Hi Baolin,
On 28/02/18 05:04, Baolin Wang wrote:
> Hi Roger,
>
> On 27 February 2018 at 19:22, Roger Quadros wrote:
>> In the following test we get stuck by sleeping forever in _dwc3_set_mode()
>> after which dual-role switching doesn't work.
>>
>> On dra7-evm's dual-role port,
>> - Load g_zero
Hi,
Roger Quadros writes:
> In the following test we get stuck by sleeping forever in _dwc3_set_mode()
> after which dual-role switching doesn't work.
>
> On dra7-evm's dual-role port,
> - Load g_zero gadget driver and enumerate to host
> - suspend to mem
> - disconnect USB cable to host and con
Hi Roger,
On 27 February 2018 at 19:22, Roger Quadros wrote:
> In the following test we get stuck by sleeping forever in _dwc3_set_mode()
> after which dual-role switching doesn't work.
>
> On dra7-evm's dual-role port,
> - Load g_zero gadget driver and enumerate to host
> - suspend to mem
> - di
In the following test we get stuck by sleeping forever in _dwc3_set_mode()
after which dual-role switching doesn't work.
On dra7-evm's dual-role port,
- Load g_zero gadget driver and enumerate to host
- suspend to mem
- disconnect USB cable to host and connect otg cable with Pen drive in it.
- res
20 matches
Mail list logo