usb: musb: set AUTOSET for full speed bulk DMA transfer in host mode
authorsupriya karanth <supriya.karanth@stericsson.com>
Thu, 6 Dec 2012 05:46:23 +0000 (11:16 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 10 Jan 2013 12:16:47 +0000 (14:16 +0200)
commitf27862819350d2c1a679b690b5b3559e632e81eb
treece6449f55b5238d486dc2b004df646cdfa13318e
parentbb3a2ef2eb8cfaea335dcb3426350df7f3d48069
usb: musb: set AUTOSET for full speed bulk DMA transfer in host mode

The "mult" factor is not updated properly for the can_bulk_split()
case.

The AUTOSET bit in the TXCSR is not being set if the "mult"
factor is greater than 1 for the High Bandwidth ISO case.
But the "mult" factor is also greater than 1 in case of Full speed
bulk transfers with the packet splitting in TXMAXP register
enabled with can_bulk_split().

Without the AUTOSET the DMA transfers will not progress in mode1

[ balbi@ti.com : fix braces placement ]

Signed-off-by: supriya karanth <supriya.karanth@stericsson.com>
Signed-off-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c