Re: [PATCH v2] scsi: ufs: Factor out ufshcd_read_desc_param

From: Subhash Jadavani
Date: Wed Mar 01 2017 - 13:40:12 EST


On 2017-02-27 19:24, Martin K. Petersen wrote:
"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.

Subhash: I assume v2 still carries your Reviewed-by:?

Yes, v2 also looks good to me.

--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project