fsl/usb: Increase TXFIFOTHRESH value for usb write in T4 Rev 2.0
authorNikhil Badola <nikhil.badola@freescale.com>
Mon, 7 Apr 2014 03:16:14 +0000 (08:46 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:49 +0000 (17:58 -0700)
commit896720ceb2cededcd1f25fa5f5ff23822bea466d
tree9394f32f5db254e5c438816c92f8bfc14bb35706
parent55153d6c30d8ce11c8a7acf226375e61546b8401
fsl/usb: Increase TXFIFOTHRESH value for usb write in T4 Rev 2.0

Increase TXFIFOTHRES field value in TXFILLTUNING register of usb for T4 Rev 2.0.
This decreases data burst rate with which data packets are posted from the TX
latency FIFO to compensate for latencies in DDR pipeline during DMA.
This avoids Tx buffer underruns and leads to successful usb writes

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/usb/host/ehci-fsl.c
include/usb/ehci-fsl.h