Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102207
b: refs/heads/master
c: 7e9c7b6
h: refs/heads/master
i:
  102205: 74f9ee8
  102203: d0067e4
  102199: 1598b1f
  102191: 62cbd1b
  102175: 3c844b3
  102143: 3327e60
v: v3
  • Loading branch information
Ben Dooks authored and Pierre Ossman committed Jul 15, 2008
1 parent ed61a79 commit 3884555
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4dde7f755211fd58105c989a99a3a9f2f1238fba
refs/heads/master: 7e9c7b64022b7faff6022df64baec8ab467d0bfd
11 changes: 11 additions & 0 deletions trunk/drivers/mmc/host/s3cmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,17 @@ static int s3cmci_setup_data(struct s3cmci_host *host, struct mmc_data *data)
return 0;
}

if ((data->blksz & 3) != 0) {
/* We cannot deal with unaligned blocks with more than
* one block being transfered. */

if (data->blocks > 1)
return -EINVAL;

/* No support yet for non-word block transfers. */
return -EINVAL;
}

while (readl(host->base + S3C2410_SDIDSTA) &
(S3C2410_SDIDSTA_TXDATAON | S3C2410_SDIDSTA_RXDATAON)) {

Expand Down

0 comments on commit 3884555

Please sign in to comment.