提交 6587cc0f 编写于 作者: A Anil Shetty 提交者: Greg Kroah-Hartman

usb: musb: musbhsdma: increase max_len to 1MB

MUSB's DMA controller max channel length was set to 64k.
Transfer length greater than this max value is being truncated.
Signed-off-by: NAnil Shetty <anil@ti.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 f11d893d
...@@ -91,7 +91,7 @@ static struct dma_channel *dma_channel_allocate(struct dma_controller *c, ...@@ -91,7 +91,7 @@ static struct dma_channel *dma_channel_allocate(struct dma_controller *c,
channel = &(musb_channel->channel); channel = &(musb_channel->channel);
channel->private_data = musb_channel; channel->private_data = musb_channel;
channel->status = MUSB_DMA_STATUS_FREE; channel->status = MUSB_DMA_STATUS_FREE;
channel->max_len = 0x10000; channel->max_len = 0x100000;
/* Tx => mode 1; Rx => mode 0 */ /* Tx => mode 1; Rx => mode 0 */
channel->desired_mode = transmit; channel->desired_mode = transmit;
channel->actual_len = 0; channel->actual_len = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册