Re: [PATCH v2 2/2] usb: dwc2: host: fix the data toggle error in full speed descriptor dma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 2/17/2016 2:02 AM, John Youn wrote:

From: Tang, Jianqiang <jianqiang.tang@xxxxxxxxx>

There will be data toggle error happen for full speed buld-out transfer.

   Bulk-out?

The data toggle bit is saved in qh for non-control transfers, it is wrong
to  check the qtd for that case.

Also fix one static analysis tool issue after fix the data toggle error.

John Youn:
* Added WARN() to warn on improper usage of the
   dwc2_hcd_save_data_toggle() function.

Signed-off-by: Dyson Lee <dyson.lee@xxxxxxxxx>
Signed-off-by: Tang, Jianqiang <jianqiang.tang@xxxxxxxxx>
Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx>
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux