mmc: block: Always switch back to main area after RPMB access
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 4 May 2016 11:38:12 +0000 (14:38 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 17 May 2016 14:54:36 +0000 (16:54 +0200)
commit3c866568aff7dcfc0bbd5ffc7fcc34fa8f100f67
treebfc1fac4d66074396bde169f4a4dfc26fbc6f8b5
parent7ff2760999a86e4d2b1af93dcf0f0d336c309571
mmc: block: Always switch back to main area after RPMB access

In preparation to support the use of the RPMB partition with transfer
modes that might require re-tuning, always switch back to the main
area after RPMB access.

RPMB is accessible only via IOCTL so only those paths are affected.

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