• Bernard Blackham's avatar
    DaVinci SD/MMC patch for git (take 2) · 78ed3204
    Bernard Blackham authored
    This is a forward port of the SD/MMC driver from the latest LSP,
    melded into linux-2.6.23-git. I've tried to keep the style updates
    that were merged recently. I've fixed the exit code (in
    davinci_mmcsd_exit) to release clocks, and some failure paths in
    davinci_mmcsd_init.
    
    The driver as is performs ~6MB/s reads and ~1MB/s writes with a
    block size of 512k (i.e. still needs help!). This patch just makes
    the driver usable again.
    Signed-off-by: default avatarBernard Blackham <bernard@largestprime.net>
    Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
    78ed3204
davinci_mmc.c 36.6 KB