> Sometimes, specific information about the UFS controller revision is
> required in order to determine certain operations or execute
> controller dependent quirks.
> In order to avoid reading the controller revision multiple times,
> we simply read it once and save this information in internal structure.
>
> Signed-off-by: Yaniv Gardi <[email protected]>
>
> ---
> drivers/scsi/ufs/ufs-qcom.c | 14 +++++++-------
> drivers/scsi/ufs/ufs-qcom.h | 8 ++++++++
> 2 files changed, 15 insertions(+), 7 deletions(-)
>
Reviewed-by: Gilad Broner <[email protected]>
--
Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project