ARM: OMAP: Fix MMC DMA frame count overflow
authorTony Lindgren <tony@atomide.com>
Tue, 16 Aug 2005 12:00:57 +0000 (05:00 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 16 Aug 2005 12:00:57 +0000 (05:00 -0700)
In some cases u16 count = sg_dma_len(sg) would overflow resulting in 0
length DMA transfers which would hang the system.

Without this fix, the following command would hang:

# dd if=/dev/mmcblk0 of=/dev/null bs=1M count=1 &


No differences found