Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336272
b: refs/heads/master
c: 2cb5355
h: refs/heads/master
v: v3
  • Loading branch information
Javier Martin authored and Chris Ball committed Dec 6, 2012
1 parent 1808173 commit 32290a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49480cf2c29ffd2b6cb5213eaf8995bd1e16a345
refs/heads/master: 2cb535529d52658613a2138677f5e497e633bead
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/host/mxcmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,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;
}
Expand Down

0 comments on commit 32290a4

Please sign in to comment.