Re: [PATCH 8/9 v2] USB: musb: add notes for Blackfin anomaly 05000450

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

 



Hello.

Mike Frysinger wrote:

From: Sonic Zhang <sonic.zhang@xxxxxxxxxx>

Add some helpful notes about how the driver works around anomaly 05000450
(USB DMA Mode 1 Short Packet Data Corruption).

Signed-off-by: Sonic Zhang <sonic.zhang@xxxxxxxxxx>
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
v2
	- fixup comment style
	- improve contents

 drivers/usb/musb/blackfin.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/musb/blackfin.h b/drivers/usb/musb/blackfin.h
index 159fdea..3e82059 100644
--- a/drivers/usb/musb/blackfin.h
+++ b/drivers/usb/musb/blackfin.h
@@ -14,6 +14,14 @@
  * Blackfin specific definitions
  */
+/*
+ * Anomaly notes:
+ *  05000450 - USB DMA Mode 1 Short Packet Data Corruption:
+ *		MUSB driver is designed to transfer buffer of N * maxpacket size
+ *		in DMA mode 1 and leave rest data to the next transfer in DMA
+ *		mode 0, so we never transmit a short package in DMA mode 1.

  s/package/packet/

WBR, 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