From 3e6b7e696dc0835805bf230154c9eb8df8b0e7ab Mon Sep 17 00:00:00 2001 From: Luwei Zhou Date: Wed, 30 Oct 2013 14:24:34 +0800 Subject: [PATCH] ENGR00285441 mxc: mlb: Fix the receive issue of ISOC mode on Sabreauto 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 --- drivers/mxc/mlb/mxc_mlb150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mxc/mlb/mxc_mlb150.c b/drivers/mxc/mlb/mxc_mlb150.c index c2f418c34baa..79aeeb50fb0d 100755 --- a/drivers/mxc/mlb/mxc_mlb150.c +++ b/drivers/mxc/mlb/mxc_mlb150.c @@ -176,7 +176,7 @@ #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) -- 2.39.5