]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00285441 mxc: mlb: Fix the receive issue of ISOC mode on Sabreauto
authorLuwei Zhou <b45643@freescale.com>
Wed, 30 Oct 2013 06:24:34 +0000 (14:24 +0800)
committerLuwei Zhou <b45643@freescale.com>
Mon, 4 Nov 2013 05:38:21 +0000 (13:38 +0800)
This patch fixes the receive issue of MLB ISO mode on Sabreauto side.
During debug, it is found that the Sabreauto can only receive
1/5 packets of MITB sends.The MITB sends out 188 bytes per packet.
The Sabreauto receives 188*5 bytes. It seems that the packet length
on Sabreauto side is 5 times larger than MITB side. After changing
the defautl block number to 1, Sabreauto passes the test.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
drivers/mxc/mlb/mxc_mlb150.c

index c2f418c34baa5061741ce9fa973f34b68ac996fd..79aeeb50fb0d74cab66886246786d40f0a3ba93d 100755 (executable)
 #define CH_ISOC_BLK_SIZE_188   (188)
 #define CH_ISOC_BLK_SIZE_196   (196)
 #define CH_ISOC_BLK_SIZE       (CH_ISOC_BLK_SIZE_188)
-#define CH_ISOC_BLK_NUM                (5)
+#define CH_ISOC_BLK_NUM                (1)
 #define CH_ISOC_CDT_BUF_DEP    (CH_ISOC_BLK_SIZE * CH_ISOC_BLK_NUM)
 #define CH_ISOC_ADT_BUF_DEP    (CH_ISOC_CDT_BUF_DEP)
 #define CH_ISOC_BUF_SZ         (1024)