• Tony Lindgren's avatar
    ARM: OMAP: Fix MMC DMA frame count overflow · d2fe8330
    Tony Lindgren authored
    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 &
    d2fe8330
omap.c 33.5 KB