From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Date: Wed, 05 Jan 2011 20:49:16 +0000 Subject: Re: [PATCH 3/3] mfd: sdhi: require the tmio-mmc driver to bounce Message-Id: <20110105204916.GF9198@void.printf.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org, Ian Molton , Samuel Ortiz On Tue, Nov 23, 2010 at 05:24:19PM +0100, Guennadi Liakhovetski wrote: > The SDHI controller on SH-Mobile SoCs requires even buffer addresses, when used > with DMA. > > Signed-off-by: Guennadi Liakhovetski > --- > 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 f1714f9..3ca20ec 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) > 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; > } > Pushed to mmc-next for .38, thanks. -- Chris Ball One Laptop Per Child