commit | f20bec813edbef479bfc771abd037fc92e1ddf02 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Wed Dec 12 15:38:14 2012 +0100 |
committer | Chris Ball <cjb@laptop.org> | Mon Jan 28 06:51:32 2013 -0500 |
tree | 878dbe7a8551d0deae60bd5916d74e216c6792e9 | |
parent | 3050197d55b0f918ae48443b125616024065f977 [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>