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

Commit 9d18882d authored by Vijay Viswanath's avatar Vijay Viswanath Committed by Veerabhadrarao Badiganti
Browse files

mmc: block: Put card instead of release_host in mmc_ioctl



mmc_put_card API also takes care of runtime suspend/resume. Also, the
API mmc_blk_ioctl_cmd uses mmc_get_card. So, use mmc_put_card as this
will ensure the runtime counters are maintained when using the
MMC_IOCTL_CMD.

Change-Id: I74eacd0172c79eee299d672b7c63d3754a28ce61
Signed-off-by: default avatarVijay Viswanath <vviswana@codeaurora.org>
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
parent e9ab48b7
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