Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287624
b: refs/heads/master
c: b6bf30d
h: refs/heads/master
v: v3
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD authored and Chris Ball committed Feb 14, 2012
1 parent 788f1d2 commit f7bffaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 2d0d68f583279dbdcc1a2ef3f81ea8d285a0adbe
refs/heads/master: b6bf30d912ddc9a3ac2ce264a04e3ec6d4e74a34
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/host/of_mmc_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi)
const int j = i * 2;
u32 mask;

mask = mmc_vddrange_to_ocrmask(voltage_ranges[j],
voltage_ranges[j + 1]);
mask = mmc_vddrange_to_ocrmask(be32_to_cpu(voltage_ranges[j]),
be32_to_cpu(voltage_ranges[j + 1]));
if (!mask) {
ret = -EINVAL;
dev_err(dev, "OF: voltage-range #%d is invalid\n", i);
Expand Down

0 comments on commit f7bffaf

Please sign in to comment.