[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFbHwiSG6Z0aWuZvrydSjY07rgJpAuPx=9tzQDKc7UbaRTnY6A@mail.gmail.com>
Date: Wed, 2 May 2012 10:07:45 +0100
From: Will Newton <will.newton@...il.com>
To: Thomas Abraham <thomas.abraham@...aro.org>
Cc: linux-mmc@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
cjb@...top.org, kgene.kim@...sung.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
jh80.chung@...sung.com, tgih.jun@...sung.com, dianders@...gle.com
Subject: Re: [PATCH] mmc: dw_mmc: make multiple instances of dw_mci_card_workqueue
On Tue, May 1, 2012 at 10:57 PM, Thomas Abraham
<thomas.abraham@...aro.org> wrote:
> The variable 'dw_mci_card_workqueue' is a global variable shared between
> multiple instances of the dw_mmc host controller. Due to this, data
> corruption has been noticed when multiple instances of dw_mmc controllers
> are actively reading/writing the media. Fix this by adding a instance
> of 'struct workqueue_struct' for each host instance and removing the
> global 'dw_mci_card_workqueue' instance.
>
> Signed-off-by: Thomas Abraham <thomas.abraham@...aro.org>
> ---
> drivers/mmc/host/dw_mmc.c | 14 ++++++--------
> include/linux/mmc/dw_mmc.h | 1 +
> 2 files changed, 7 insertions(+), 8 deletions(-)
Looks good.
Acked-by: Will Newton <will.newton@...tec.com>
--
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