summaryrefslogtreecommitdiff
path: root/include/uapi/linux/usb/functionfs.h
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2015-06-26 17:56:27 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:00:00 -0700
commita729df084c8f405a2130b2c1c0501761bc7a1915 (patch)
tree8d0c9249fba727ccae5b4c0e287c4afa4811e3cc /include/uapi/linux/usb/functionfs.h
parentac0ad62152ad546884a4b2b193eb77c582a4a908 (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/usb/functionfs.h')
0 files changed, 0 insertions, 0 deletions