diff options
| author | Dov Levenglick <dovl@codeaurora.org> | 2015-01-05 08:24:32 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:58:30 -0700 |
| commit | 25531d6eead1a9d1778dc143876178b1dd8be145 (patch) | |
| tree | 0984f3b2215af03a6dbd97ce763b23704d1ec7bf /include/linux | |
| parent | 6021822ecaf116058f1099992ba8d4fce9e08d6b (diff) | |
scsi: ufs-qcom: add ICE debug prints
Add ICE debug prints for debugging purposes. These prints
will be shown as part of dumping registers during error handling.
Enabling can be controlled by debugfs.
Change-Id: I7d070cc8df099e6c526997d39973a3e1c161091b
Signed-off-by: Dov Levenglick <dovl@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/scsi/ufs/ufs-qcom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/scsi/ufs/ufs-qcom.h b/include/linux/scsi/ufs/ufs-qcom.h index e00f0b935227..c82647d01d51 100644 --- a/include/linux/scsi/ufs/ufs-qcom.h +++ b/include/linux/scsi/ufs/ufs-qcom.h @@ -123,8 +123,11 @@ struct ufs_qcom_phy_vreg { /* QCOM UFS debug print bit mask */ #define UFS_QCOM_DBG_PRINT_REGS_EN BIT(0) +#define UFS_QCOM_DBG_PRINT_ICE_REGS_EN BIT(1) + +#define UFS_QCOM_DBG_PRINT_ALL \ + (UFS_QCOM_DBG_PRINT_REGS_EN | UFS_QCOM_DBG_PRINT_ICE_REGS_EN) -#define UFS_QCOM_DBG_PRINT_ALL UFS_QCOM_DBG_PRINT_REGS_EN static inline void ufs_qcom_get_controller_revision(struct ufs_hba *hba, |
