diff options
author | Gilad Broner <gbroner@codeaurora.org> | 2015-02-03 11:31:35 +0200 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:58:45 -0700 |
commit | da7f098c895d1f612f308b25d38acadb492a058a (patch) | |
tree | edc6698eeeb0c2ad8550e44fed05f22a0837cd52 /scripts | |
parent | 413d97dd2a8c5f39c43346bfa8644bf6ad1a4ce6 (diff) |
scsi: ufs: enable runtime pm only after ufshcd init
Previous code enables runtime pm before ufshcd_init() is completed,
and before the hba struct is stored in the platform device private
data. This means that pm runtime calls will have null hba pointer
as well as partially initialized driver.
Instead, enable pm runtime only after ufshcd_init() is done and
after hba struct is stored in the platform device private data.
Change-Id: I8225736916a9eda3d9f58d2b0e2566065766b914
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions