[ARM] 3744/1: MMC: mmcqd gets stuck when block queue is plugged
authorJuha [\18êölä <juha.yrjola@solidboot.com>
Sun, 6 Aug 2006 08:58:22 +0000 (09:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Aug 2006 08:58:22 +0000 (09:58 +0100)
commitc723e08af18e60cda3bbc90e0d6fb688587aeb9f
tree54d5aeb522be373c1cae8b4e41e6d515512999c2
parentf5d635f649607b09b0b4620d25d028fd2b1b7ea5
[ARM] 3744/1: MMC: mmcqd gets stuck when block queue is plugged

Patch from Juha [\18êölä

When the block queue is plugged, mq->req must be set to NULL.
Otherwise mq->req might be left non-NULL, even though mmcqd is
not processing a request, thus preventing the MMC queue thread from
being woken up when new requests do arrive.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/mmc_queue.c