]> bbs.cooldavid.org Git - net-next-2.6.git/commit
USB: musb: Enable the maximum supported burst mode for DMA
authorHema HK <hemahk@ti.com>
Thu, 24 Jun 2010 17:37:09 +0000 (23:07 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 15:16:07 +0000 (08:16 -0700)
commitc0f1f8e38fda8e345cad9269c559b4f036378120
tree6eef1ab9ae7769b74ecf703da59dd4b4ea9cc209
parentf2263db74a66f1e341efb115e9f2420678c927b9
USB: musb: Enable the maximum supported burst mode for DMA

Setting MUSB Burst Mode 3 automatically enables support for
lower burst modes (BURST4, BURST8, BURST16 or bursts of unspecified
length). There is no need to set these burst modes based on the
packet size. Also enable the burst mode for both mode1 and mode0.

This is a fix for buggy hardware - having the lower burst modes
enabled can potentially cause lockups of the DMA engine used in
OMAP2/3/4 chips.

Signed-off-by: Hema HK <hemahk@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musbhsdma.c