diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2017-11-29 15:41:02 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-12-11 12:44:33 +0100 |
commit | c3d53d0da69d127f488dc85638e9440220b268e8 (patch) | |
tree | 10ddb5731e3171b41425204375d6387ce907253c /drivers/mmc/Kconfig | |
parent | 6d3898a6a517d0effa1d1e337c03b16bafb6fc96 (diff) | |
download | op-kernel-dev-c3d53d0da69d127f488dc85638e9440220b268e8.zip op-kernel-dev-c3d53d0da69d127f488dc85638e9440220b268e8.tar.gz |
mmc: core: Add parameter use_blk_mq
Until mmc has blk-mq support fully implemented and tested, add a parameter
use_blk_mq, set to true if config option MMC_MQ_DEFAULT is selected, which
it is by default.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r-- | drivers/mmc/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index ec21388..4256556 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -12,6 +12,16 @@ menuconfig MMC If you want MMC/SD/SDIO support, you should say Y here and also to your specific host controller driver. +config MMC_MQ_DEFAULT + bool "MMC: use blk-mq I/O path by default" + depends on MMC && BLOCK + default y + ---help--- + This option enables the new blk-mq based I/O path for MMC block + devices by default. With the option the mmc_core.use_blk_mq + module/boot option defaults to Y, without it to N, but it can + still be overridden either way. + if MMC source "drivers/mmc/core/Kconfig" |