diff options
author | Potomski, MichalX <michalx.potomski@intel.com> | 2017-02-23 09:05:30 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-06 16:44:34 +0200 |
commit | e1928457073c996ffc681be2b6f9576706fbcf8d (patch) | |
tree | b1a13c9b607ab0fd5202ae977be2792cf2f8a816 /arch/arm64/include/asm/cpufeature.h | |
parent | be4d66d6b6f2cdfec92f1bd2fd44edd633097afd (diff) |
scsi: ufs: Factor out ufshcd_read_desc_param
commit a4b0e8a4e92b1baa860e744847fbdb84a50a5071 upstream.
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>
[Wei Li: Slight tweaks to get the cherry-pick to apply,resolved collisions]
Signed-off-by: Li Wei <liwei213@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/include/asm/cpufeature.h')
0 files changed, 0 insertions, 0 deletions