Title: [6660] trunk/drivers/usb/musb/musb_host.c: [#5237] fix update error during dma channel anomaly workaround merging
- Revision
- 6660
- Author
- vapier
- Date
- 2009-06-11 08:07:06 -0500 (Thu, 11 Jun 2009)
Log Message
[#5237] fix update error during dma channel anomaly workaround merging
Modified Paths
Diff
Modified: trunk/drivers/usb/musb/musb_host.c (6659 => 6660)
--- trunk/drivers/usb/musb/musb_host.c 2009-06-11 12:47:56 UTC (rev 6659)
+++ trunk/drivers/usb/musb/musb_host.c 2009-06-11 13:07:06 UTC (rev 6660)
@@ -682,7 +682,7 @@
if (!dma->channel_program(channel, pkt_size, mode,
urb->transfer_dma + offset,
- (dma_channel->desired_mode == 0) ? length :
+ (channel->desired_mode == 0) ? length :
length - (length % qh->maxpacket)))
{
dma->channel_release(channel);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits