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:Vijay Viswanath <vviswana@codeaurora.org> Signed-off-by:
Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Loading
Please register or sign in to comment