projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eba4603
)
mfd: sdhi: require the tmio-mmc driver to bounce unaligned buffers
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Tue, 23 Nov 2010 16:24:19 +0000
(17:24 +0100)
committer
Chris Ball
<cjb@laptop.org>
Sun, 9 Jan 2011 04:52:30 +0000
(23:52 -0500)
The SDHI controller on SH-Mobile SoCs requires even buffer addresses,
when used with DMA.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mfd/sh_mobile_sdhi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/sh_mobile_sdhi.c
b/drivers/mfd/sh_mobile_sdhi.c
index f1714f93af9db2c91e82ee5eeb076d6f497dd5af..3ca20ecaac7e771b05effbe9bfc592272d3d26c5 100644
(file)
--- a/
drivers/mfd/sh_mobile_sdhi.c
+++ b/
drivers/mfd/sh_mobile_sdhi.c
@@
-136,6
+136,7
@@
static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
priv->param_rx.slave_id = p->dma_slave_rx;
priv->dma_priv.chan_priv_tx = &priv->param_tx;
priv->dma_priv.chan_priv_rx = &priv->param_rx;
+ priv->dma_priv.alignment_shift = 1; /* 2-byte alignment */
mmc_data->dma = &priv->dma_priv;
}