diff options
author | 2017-12-01 14:55:30 +0200 | |
---|---|---|
committer | 2017-12-11 12:48:07 +0100 | |
commit | d2383318c5a626312d166217e3788e54b1650c56 (patch) | |
tree | 727df9a86f5c5c80ddf18b8e265458aa5574ff56 /drivers/mmc/core/queue.c | |
parent | mmc: sdhci-acpi: Add support for ACPI HID of AMD Controller with HS400 (diff) | |
download | linux-dev-d2383318c5a626312d166217e3788e54b1650c56.tar.xz linux-dev-d2383318c5a626312d166217e3788e54b1650c56.zip |
mmc: core: Ensure cmd_completion is initialized
mmc_test now uses mmc_start_request() to test sending commands during
"ongoing" asynchronous transfers, i.e. tests:
Commands during non-blocking read - use Set Block Count (CMD23)
Commands during non-blocking write - use Set Block Count (CMD23)
mmc_start_request() was not initializing cmd_completion, but cmd_completion
is used by "ongoing" transfers, so move initialization of cmd_completion
into making mmc_start_request().
Fixes: cb39f61e9b1e ("mmc: core: Export a few functions needed for blkmq support")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions