linux/drivers/mmc/core
Lukas Czerner 5204d00f06 mmc: Do not advertise secure discard if it is blacklisted
Currently when the device secure discard implementation is
blacklisted (MMC_QUIRK_SEC_ERASE_TRIM_BROKEN quirk is set)
instead of secure discard we're going to do normal discard,
which is wrong.

When the secure discard is known to be broken we should just
disallow it entirely and not advertise this functionality to
the user. Fix it.

Also move mmc_fixup_device() in from of mmc_blk_alloc() so we
can get quirks set before we attempt to set queue information.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2014-07-26 11:13:39 +02:00
..
Kconfig
Makefile
bus.c
bus.h
core.c mmc: Do not advertise secure discard if it is blacklisted 2014-07-26 11:13:39 +02:00
core.h
debugfs.c
host.c
host.h
mmc.c mmc: Allow forward compatibility for eMMC 2014-07-09 11:26:11 +02:00
mmc_ops.c
mmc_ops.h
quirks.c mmc: quirks: Fixup debug message 2014-07-09 11:26:03 +02:00
sd.c
sd.h
sd_ops.c mmc: sd: warn if card stays busy during init 2014-07-09 11:26:07 +02:00
sd_ops.h
sdio.c
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
slot-gpio.c