Re: [PATCH v2] scsi: ufs: Factor out ufshcd_read_desc_param
From: Martin K. Petersen
Date: Thu Mar 02 2017 - 00:40:57 EST
>>>>> "Michal'" == Potomski, MichalX <michalx.potomski@xxxxxxxxx> writes:
Michal'> Since in UFS 2.1 specification some of the descriptor lengths
Michal'> differs from 2.0 specification and some devices, which are
Michal'> reporting spec version 2.0 have different descriptor lengths we
Michal'> can not rely on hardcoded values taken from 2.0
Michal'> specification. This patch introduces reading these lengths per
Michal'> each device from descriptor headers at probe time to ensure
Michal'> their correctness.
Applied to 4.11/scsi-fixes.
Thanks!
--
Martin K. Petersen Oracle Linux Engineering