Searched hist:"5204 d00f06ac9af4ef9c469cce7f9bbe179739b1" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mmc/core/ |
H A D | core.c | diff 5204d00f06ac9af4ef9c469cce7f9bbe179739b1 Wed Jun 18 13:18:07 CEST 2014 Lukas Czerner <lczerner@redhat.com> 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>
|