Skip to content

Commit

Permalink
usb: musb: musbhsdma: increase max_len to 1MB
Browse files Browse the repository at this point in the history
MUSB's DMA controller max channel length was set to 64k.
Transfer length greater than this max value is being truncated.

Signed-off-by: Anil Shetty <anil@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Anil Shetty authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent f11d893 commit 6587cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/musb/musbhsdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static struct dma_channel *dma_channel_allocate(struct dma_controller *c,
channel = &(musb_channel->channel);
channel->private_data = musb_channel;
channel->status = MUSB_DMA_STATUS_FREE;
channel->max_len = 0x10000;
channel->max_len = 0x100000;
/* Tx => mode 1; Rx => mode 0 */
channel->desired_mode = transmit;
channel->actual_len = 0;
Expand Down

0 comments on commit 6587cc0

Please sign in to comment.