Thread (3 messages) flat view 3 messages, 3 authors, 2012-05-02

[PATCH] mmc: dw_mmc: make multiple instances of dw_mci_card_workqueue

From: Will Newton <hidden>
Date: 2012-05-02 09:07:48
Also in: linux-mmc, linux-samsung-soc, lkml

On Tue, May 1, 2012 at 10:57 PM, Thomas Abraham
[off-list ref] 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 <redacted>
---
?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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help