diff options
Diffstat (limited to 'drivers/mmc/host/mxcmmc.c')
| -rw-r--r-- | drivers/mmc/host/mxcmmc.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 477f63bad52..a72936eea6f 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -263,7 +263,7 @@ static int mxcmci_setup_data(struct mxcmci_host *host, struct mmc_data *data)  		return 0;  	for_each_sg(data->sg, sg, data->sg_len, i) { -		if (sg->offset & 3 || sg->length & 3) { +		if (sg->offset & 3 || sg->length & 3 || sg->length < 512) {  			host->do_dma = 0;  			return 0;  		}  |