diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-11-23 11:24:19 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-08 23:52:30 -0500 |
commit | 39a65a0dbbf73403daa9f4cc0ab30957ba61e60f (patch) | |
tree | 0de8c023643fe41c94b31b6e088c0c2a9c39a1e9 | |
parent | eba46030e1727f2af377300b6a55df846fa830f1 (diff) |
mfd: sdhi: require the tmio-mmc driver to bounce unaligned buffers
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>
-rw-r--r-- | drivers/mfd/sh_mobile_sdhi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sh_mobile_sdhi.c b/drivers/mfd/sh_mobile_sdhi.c index f1714f93af9d..3ca20ecaac7e 100644 --- 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) | |||
136 | priv->param_rx.slave_id = p->dma_slave_rx; | 136 | priv->param_rx.slave_id = p->dma_slave_rx; |
137 | priv->dma_priv.chan_priv_tx = &priv->param_tx; | 137 | priv->dma_priv.chan_priv_tx = &priv->param_tx; |
138 | priv->dma_priv.chan_priv_rx = &priv->param_rx; | 138 | priv->dma_priv.chan_priv_rx = &priv->param_rx; |
139 | priv->dma_priv.alignment_shift = 1; /* 2-byte alignment */ | ||
139 | mmc_data->dma = &priv->dma_priv; | 140 | mmc_data->dma = &priv->dma_priv; |
140 | } | 141 | } |
141 | 142 | ||