]> 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)
commit37de222eaea6a56b470aa1db596401683c5494f8
tree49b15538c654f6babac1b576d4a671826f179bf3
parent0659482cd72e030c1900767594ca867aec25a042
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