summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
authorThomas Abraham2012-05-01 23:57:36 +0200
committerChris Ball2012-05-09 16:14:10 +0200
commit95dcc2cb6c9c84555c29187f8b7cf39e83991a29 (patch)
tree4e15db2d0f5dc52c3e5c1d5e2446986e6dc632c4 /drivers/mmc/core/core.c
parentmmc: queue: remove redundant memsets (diff)
downloadkernel-qcow2-linux-95dcc2cb6c9c84555c29187f8b7cf39e83991a29.tar.gz
kernel-qcow2-linux-95dcc2cb6c9c84555c29187f8b7cf39e83991a29.tar.xz
kernel-qcow2-linux-95dcc2cb6c9c84555c29187f8b7cf39e83991a29.zip
mmc: dw_mmc: make multiple instances of dw_mci_card_workqueue
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@linaro.org> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Acked-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/core.c')
0 files changed, 0 insertions, 0 deletions