On Tue, May 1, 2012 at 10:57 PM, Thomas Abraham <thomas.abraham@xxxxxxxxxx> 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@xxxxxxxxxx> > --- > 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@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html