]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbb1ce177f1c18382ff98f14dfacf782baf0fe87
tree49b15538c654f6babac1b576d4a671826f179bf3
parent7f400cbec1908ba69d7cf39aa48125676129fae6
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