mmc: core: Disable HPI for certain Hynix eMMC cards
authorPratibhasagar V <pratibha@codeaurora.org>
Thu, 9 Jun 2016 22:09:31 +0000 (18:09 -0400)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:12 +0000 (10:34 +0200)
commit5320226a051248b50cc2d80f2cb9599dfb56d422
tree49b15538c654f6babac1b576d4a671826f179bf3
parent8b7be8f2e7fe6c037fc7c89029a4a568ad2c60b1
mmc: core: Disable HPI for certain Hynix eMMC cards

Certain Hynix eMMC 4.41 cards might get broken when HPI feature is used
and hence this patch disables the HPI feature for such buggy cards.

As some of the other features like BKOPs/Cache/Sanitize are dependent on
HPI feature, those features would also get disabled if HPI is disabled.

Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
[gdavis: Forward port and cleanup]
Signed-off-by: George G. Davis <george_davis@mentor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c
drivers/mmc/core/mmc.c
drivers/mmc/core/quirks.c
include/linux/mmc/card.h