Files
Li Wei b91872a9d3 BACKPORT: 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>
(cherry picked from commit a4b0e8a4e92b1baa860e744847fbdb84a50a5071)
Signed-off-by: Li Wei <liwei213@huawei.com>
2018-03-19 15:46:15 +08:00
..
2016-02-23 21:27:02 -05:00
2017-12-25 14:23:44 +01:00
2017-04-08 09:30:32 +02:00
2016-07-20 17:38:35 -06:00
2017-12-14 09:28:19 +01:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2015-12-03 09:32:33 -08:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2016-02-23 21:27:02 -05:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2015-11-09 16:32:14 -08:00
2018-01-23 19:57:05 +01:00
2017-12-20 10:07:22 +01:00
2016-02-25 21:10:53 -05:00
2016-10-14 16:26:31 -04:00
2015-06-02 17:24:54 -07:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2016-09-26 20:49:25 -04:00
2016-02-23 21:27:02 -05:00
2016-11-28 15:51:31 -05:00
2018-01-23 19:57:04 +01:00
2016-02-23 21:27:02 -05:00
2017-04-21 09:31:21 +02:00
2015-11-18 11:59:09 -05:00
2016-02-23 21:27:02 -05:00