summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpt3sas_base.h
diff options
context:
space:
mode:
authorPotomski, MichalX <michalx.potomski@intel.com>2017-02-23 10:05:30 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-02 03:43:22 +0100
commita4b0e8a4e92b1baa860e744847fbdb84a50a5071 (patch)
tree1115dc2408e1ce9264b07c22a7c296849ef45aae /drivers/scsi/mpt3sas/mpt3sas_base.h
parentscsi: libiscsi: add lock around task lists to fix list corruption regression (diff)
downloadlinux-a4b0e8a4e92b1baa860e744847fbdb84a50a5071.tar.xz
linux-a4b0e8a4e92b1baa860e744847fbdb84a50a5071.zip
scsi: ufs: Factor out ufshcd_read_desc_param
Since in UFS 2.1 specification some of the descriptor lengths differs from 2.0 specification and some devices, which are reporting spec version 2.0 have different descriptor lengths we can not rely on hardcoded values taken from 2.0 specification. This patch introduces reading these lengths per each device from descriptor headers at probe time to ensure their correctness. Signed-off-by: Michal' Potomski <michalx.potomski@intel.com> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_base.h')
0 files changed, 0 insertions, 0 deletions