mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Dec 2018 16:52:37 +0000 (17:52 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:57:18 +0000 (08:57 +0100)
commitba9f39a785a9977e72233000711ef1eb48203551
tree127069480c9165bf68dd54e4766bea3a2eebccfd
parenta0741ba40a009f97c019ae7541dc61c1fdf41efb
mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support

In commit 5320226a0512 ("mmc: core: Disable HPI for certain Hynix eMMC
cards"), then intent was to prevent HPI from being used for some eMMC
cards, which didn't properly support it. However, that went too far, as
even BKOPS and CACHE ctrl became prevented. Let's restore those parts and
allow BKOPS and CACHE ctrl even if HPI isn't supported.

Fixes: 5320226a0512 ("mmc: core: Disable HPI for certain Hynix eMMC cards")
Cc: Pratibhasagar V <pratibha@codeaurora.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c