Some devices return zeroes on read to unmmaped logical blocks. This patch adds a flag to the mmc quirk list for the devices work that way. Signed-off-by: Jungseung Lee <js07.lee@xxxxxxxxxxx> --- include/linux/mmc/card.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 279b390..f032cb0 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -268,6 +268,7 @@ struct mmc_card { #define MMC_QUIRK_BROKEN_IRQ_POLLING (1<<11) /* Polling SDIO_CCCR_INTx could create a fake interrupt */ #define MMC_QUIRK_TRIM_BROKEN (1<<12) /* Skip trim */ #define MMC_QUIRK_BROKEN_HPI (1<<13) /* Disable broken HPI support */ +#define MMC_QUIRK_UNMAPPED_ZEROES (1<<14) /* Return 0's on read to unmmaped logical blocks */ bool reenable_cmdq; /* Re-enable Command Queue */ -- 2.10.1 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html