diff options
| author | Subhash Jadavani <subhashj@codeaurora.org> | 2015-06-26 17:56:27 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:00:00 -0700 |
| commit | a729df084c8f405a2130b2c1c0501761bc7a1915 (patch) | |
| tree | 8d0c9249fba727ccae5b4c0e287c4afa4811e3cc /include/uapi/linux | |
| parent | ac0ad62152ad546884a4b2b193eb77c582a4a908 (diff) | |
scsi: ufs: fix order of pm_runtime_get_sync and ufshcd_hold_all calls
Quite a few UFS functions (especially those which are invoked in debugfs
context) are calling the ufshcd_hold_all() first before runtime resuming
the UFS host controller. As runtime suspend might have already power
collapsed UFS core controller, attempt to enable clocks (as done by
ufshcd_hold_all()) in power collapsed state will fail. This change fixes
this issue by calling pm_runtime_get_sync() before ufshcd_hold_all().
Change-Id: Iff1d54d815efafbc17d56562de2e9065770c2612
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
