diff options
| author | Subhash Jadavani <subhashj@codeaurora.org> | 2014-05-09 17:44:00 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:57:00 -0700 |
| commit | f0e61863c70d2eda6c03801137c856618af7ac2a (patch) | |
| tree | 6211ab80ff3c90eae0b2a1163bf4c76f5b3d9875 /include/linux/stacktrace.h | |
| parent | 59ba60c7e4655c4ad75283eb1656ddbe0c945f2f (diff) | |
scsi: ufs: fix deadlock during runtime resume
Commit e21cdd59b6fbaeaf3ab0043fc49287f554fa8696 (scsi: ufs: Change power
mode at run-time via debug-fs) has introduced bug where
pm_runtime_get_sync() might get called in UFS driver's runtime resume
callback context which will cause the deadlock as pm_runtime_get_sync()
waits for the runtime resume callback to finish.
This change fixes the above bug by moving pm_runtime_get_sync() call out
of runtime resume callback context.
Change-Id: I1efa68510eb2545fc043dfa4d8bfe6f6c36ef6a8
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
