diff options
author | Thomas Abraham | 2012-05-01 23:57:36 +0200 |
---|---|---|
committer | Chris Ball | 2012-05-09 16:14:10 +0200 |
commit | 95dcc2cb6c9c84555c29187f8b7cf39e83991a29 (patch) | |
tree | 4e15db2d0f5dc52c3e5c1d5e2446986e6dc632c4 /drivers/mmc/core/core.c | |
parent | mmc: queue: remove redundant memsets (diff) | |
download | kernel-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