aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/host/tifm_sd.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-12-12 15:38:14 +0100
committerChris Ball <cjb@laptop.org>2013-02-11 13:28:28 -0500
commit8047310ee984b3efe932ee5b561f2523396466dd (patch)
tree7cb156d38a9b3b7c3d0b65dd6f43d1d9e5a5fa0b /drivers/mmc/host/tifm_sd.c
parent99eb9d8df996fc1695d4de687873875fbd8f6719 (diff)
mmc: sh_mmcif: fix a race, causing an Oops on SMP
Oopses have been observed on SMP in the sh-mmcif IRQ thread, when the two IRQ threads run simultaneously on two CPUs. Also take care to guard the timeout work and the DMA completion callback from possible NULL-pointer dereferences and races. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/tifm_sd.c')
0 files changed, 0 insertions, 0 deletions