lkml.org 
[lkml]   [2012]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/9 v3] mmc: sh_mobile_sdhi: prepare for conversion to the shdma base library
Date
Hi,

On Wed, May 09 2012, Guennadi Liakhovetski wrote:
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Cc: Chris Ball <cjb@laptop.org>
> ---
> drivers/mmc/host/sh_mobile_sdhi.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
> index 934b68e..b8d7004 100644
> --- a/drivers/mmc/host/sh_mobile_sdhi.c
> +++ b/drivers/mmc/host/sh_mobile_sdhi.c
> @@ -145,10 +145,10 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
> mmc_data->cd_gpio = p->cd_gpio;
>
> if (p->dma_slave_tx > 0 && p->dma_slave_rx > 0) {
> - priv->param_tx.slave_id = p->dma_slave_tx;
> - 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->param_tx.shdma_slave.slave_id = p->dma_slave_tx;
> + priv->param_rx.shdma_slave.slave_id = p->dma_slave_rx;
> + priv->dma_priv.chan_priv_tx = &priv->param_tx.shdma_slave;
> + priv->dma_priv.chan_priv_rx = &priv->param_rx.shdma_slave;
> priv->dma_priv.alignment_shift = 1; /* 2-byte alignment */
> mmc_data->dma = &priv->dma_priv;
> }

Acked-by: Chris Ball <cjb@laptop.org>

- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child


\
 
 \ /
  Last update: 2012-07-05 20:21    [W:0.232 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site