diff options
| author | Maya Erez <merez@codeaurora.org> | 2014-12-12 20:45:08 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:58:24 -0700 |
| commit | 1fd1c6a6970c8d44a0e29463e9a8d378ec9bea84 (patch) | |
| tree | fb02e68b8152bde82347a624b90955a7bd02eadc /include/linux | |
| parent | 8a03efed539ba899f8a6d54b901800609e4613ab (diff) | |
scsi: ufs: perform ice_init as part of UFS initialization
ice_init may need UFS clocks to be enabled in order to allow
enabling ICE as part of its initialization. To allow that,
ice_init should be done as part of UFS initialization sequence.
In such a case ice_reset is no longer needed to be called as part of
UFS initialization and should be moved to host reset scenarios.
Change-Id: Iaa851083a9f73045c7ca02d69dd65b3a00b85bff
Signed-off-by: Maya Erez <merez@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/scsi/ufs/ufshcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/scsi/ufs/ufshcd.h b/include/linux/scsi/ufs/ufshcd.h index 67c75a6a3ed3..76e08ee8c1ae 100644 --- a/include/linux/scsi/ufs/ufshcd.h +++ b/include/linux/scsi/ufs/ufshcd.h @@ -334,6 +334,7 @@ struct ufs_hba_variant_ops { int (*update_sec_cfg)(struct ufs_hba *hba, bool restore_sec_cfg); void (*dbg_register_dump)(struct ufs_hba *hba); int (*crypto_engine_cfg)(struct ufs_hba *, unsigned int); + int (*crypto_engine_reset)(struct ufs_hba *); int (*crypto_engine_eh)(struct ufs_hba *); int (*crypto_engine_get_err)(struct ufs_hba *); void (*crypto_engine_reset_err)(struct ufs_hba *); |
