summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshcd.h
diff options
context:
space:
mode:
authorYaniv Gardi <ygardi@codeaurora.org>2016-03-10 16:37:10 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-03-15 02:04:45 +0100
commitc58ab7aab71e2c783087115f0ce1623c2fdcf0b2 (patch)
treefac4f86f285d9b49e0be67b6075407fb3eb6437d /drivers/scsi/ufs/ufshcd.h
parentscsi: ufs: add support to read device and string descriptors (diff)
downloadlinux-c58ab7aab71e2c783087115f0ce1623c2fdcf0b2.tar.xz
linux-c58ab7aab71e2c783087115f0ce1623c2fdcf0b2.zip
scsi: ufs: separate device and host quirks
Currently we use the host quirks mechanism in order to handle both device and host controller quirks. In order to support various of UFS devices we should separate handling the device quirks from the host controller's. Reviewed-by: Gilad Broner <gbroner@codeaurora.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Raviv Shvili <rshvili@codeaurora.org> Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.h')
-rw-r--r--drivers/scsi/ufs/ufshcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
index 54e13ccb5754..77e79c00ef8c 100644
--- a/drivers/scsi/ufs/ufshcd.h
+++ b/drivers/scsi/ufs/ufshcd.h
@@ -470,6 +470,9 @@ struct ufs_hba {
unsigned int quirks; /* Deviations from standard UFSHCI spec. */
+ /* Device deviations from standard UFS device spec. */
+ unsigned int dev_quirks;
+
wait_queue_head_t tm_wq;
wait_queue_head_t tm_tag_wq;
unsigned long tm_condition;