]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: block: Pause re-tuning while switched to the RPMB partition
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 4 May 2016 11:38:13 +0000 (14:38 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 17 May 2016 14:54:45 +0000 (16:54 +0200)
commit57da0c042f4af52614f4bd1a148155a299ae5cd8
treeacf76868e7b913ba085e4477bb3f0e73048a7150
parent3c866568aff7dcfc0bbd5ffc7fcc34fa8f100f67
mmc: block: Pause re-tuning while switched to the RPMB partition

Re-tuning is not possible when switched to the RPMB
partition.  However re-tuning should not be needed
if re-tuning is done immediately before switching,
a small set of operations is done, and then we
immediately switch back to the main partition.

A previous patch ensured that we immediately switch
back to the main partition.

This patch uses the new facility to "pause" re-tuning
before switching to the RPMB partition, and to "unpause"
it after switching from the RPMB partition.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c