Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce597975 authored by Maya Erez's avatar Maya Erez Committed by Matt Wagantall
Browse files

mmc: card: fix asymmetric claim host in mmc_blk_ioctl_rpmb_cmd



On kernel-3.14 mmc_claim_host is replaced by mmc_get_card to also
call pm_runtime_get_sync.
mmc_blk_ioctl_rpmb_cmd has asymmetric claim and release as mmc_claim_host
was used to get the lock, but mmc_put_card was used for the release.
To fix this and prevent bad counter of runtime PM, mmc_claim_host
should be replaced with mmc_get_card.

Change-Id: I7c2218623fddfbeed0489aed330c9fe6e8bc5338
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
parent 9edb2737
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment