[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141008064902.GA4992@pengutronix.de>
Date: Wed, 8 Oct 2014 08:49:02 +0200
From: Sascha Hauer <s.hauer@...gutronix.de>
To: Matteo Facchinetti <matteo.facchinetti@...ius-es.it>
Cc: chris@...ntf.net, ulf.hansson@...aro.org, shc_work@...l.ru,
peter.griffin@...aro.org, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org, linucppc-dev@...ts.ozlabs.org,
agust@...x.de, gsi@...x.de, sbabic@...x.de
Subject: Re: [PATCH 1/2] mmc: mxcmmc: fix race condition when dma finish a
data transfer
On Tue, Sep 30, 2014 at 04:59:37PM +0200, Matteo Facchinetti wrote:
> From: Matteo Facchinetti <matteo.facchinetti@...ius-es.it>
>
> In accordance with the other drivers that using the dma engine,
> fix it, leaving *only* to dma driver the complete control to
> ending the read operation.
>
> Removing STATUS_READ_OP_DONE event activation, has as effect
> to force mxcmci driver to handle the finish data transfer only
> by mxcmci dma callback.
>
> Signed-off-by: Matteo Facchinetti <matteo.facchinetti@...ius-es.it>
I can't test this currently, but it looks sane to me and I assume you
invested quite some time to make sure the patch behaves correctly.
Acked-by: Sascha Hauer <s.hauer@...gutronix.de>
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists