]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commitd2fe8330c4551c4ed4866e97258a5c5b966238b8
tree7ad944c8d346a2d1c7f05189f536dfea86493b7a
parent85049d4c9c497778614a9b49172d08262bca98ee
ARM: OMAP: Fix MMC DMA frame count overflow

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 &
drivers/mmc/omap.c