]> git.hungrycats.org Git - linux/commit
[MMC] Fix mmc_block suspend/resume handling (again).
authorRussell King <rmk@flint.arm.linux.org.uk>
Mon, 20 Sep 2004 11:07:54 +0000 (12:07 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 20 Sep 2004 11:07:54 +0000 (12:07 +0100)
commit959044756e4b487967f3e3249c3671c929782c3f
tree7cd98d9ea0248a069a9a6b70d40441f96467e40a
parente7f10a52f7682ddf818bd793b56a587aae1bc160
[MMC] Fix mmc_block suspend/resume handling (again).

The previous change is not the whole story - the mmc queue
thread may be handling a request.  We must wait for outstanding
requests to complete before allowing the suspend to proceed,
otherwise we may suffer loss of data.
drivers/mmc/mmc_block.c
drivers/mmc/mmc_queue.c
drivers/mmc/mmc_queue.h