summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2015-10-20 18:01:53 -0700
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:45 -0700
commit2304056223c8b1b74c54b0d69cd2a41f5bdaa37f (patch)
tree0fec1bd3d0dfb57d4439f14ebe966c6a5bd57849 /scripts/stackusage
parent603e5ef719b620ebddb2d61681a80dc44ea0c8a9 (diff)
mmc: core/card: maintain clock gating reference count integrity
Clock gating logic maintains the reference count which gets incremented with *hold* API call and get decremented with *release* API call. If we want to make sure that clocks are enabled during some operation, we should call *hold* API before the operation and then call *release* API after the operation is finished. So *hold* and *release* should be in pair and called exactly once per operation, any violation of these rules may put the reference count out of sync and can cause issues (like unclocked register access). This change fixes the places where this can go out of sync. Change-Id: I2d784cc31027a551a466beec63ee8cd0a1f67af7 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions