On Thu, Apr 28, 2016 at 08:30:13PM +0200, Mark Kettenis wrote:
> So here are just the bits that add DMA support. Since Theo likes this
> so much, I'd like to move forward with this.
>
> ok?
Go for it. Havent' tested it myself but looks good and is a
very much needed enhancement.
I found one tiny whitespace nit...
> @@ -627,8 +628,8 @@ sdmmc_mem_single_read_block(struct sdmmc
> int i;
>
> for (i = 0; i < datalen / sf->csd.sector_size; i++) {
> - error = sdmmc_mem_read_block_subr(sf, blkno + i, data + i *
> - sf->csd.sector_size, sf->csd.sector_size);
> + error = sdmmc_mem_read_block_subr(sf,NULL, blkno + i,
...here ^
> + data + i * sf->csd.sector_size, sf->csd.sector_size);
> if (error)
> break;
> }