Skip to content
Commit 652348c0 authored by Vijay Viswanath's avatar Vijay Viswanath
Browse files

mmc: core: Hold clocks along with runtime get of class device



In mmc_claim_host, we are runtime resuming the class device and the
platform device. The platform device is allowed to runtime suspend
only after mmc_host gets released. So along with doing
runtime get/put of platform device, hold/release the clocks. This will
ensure that the clock gating work will not get frequently scheduled and
cancelled. Also the clock gating will now not kick in during runtime
resume of the platform.

Change-Id: I6b62839c7704fd85874709d53105d97a359395ab
Signed-off-by: default avatarVijay Viswanath <vviswana@codeaurora.org>
parent 0bbf24ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment