Re: [PATCH v1 1/2] scsi: ufs-qcom: save controller revision info in internal structure

From: Gilad Broner
Date: Tue Apr 07 2015 - 03:39:41 EST



> 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 <ygardi@xxxxxxxxxxxxxx>
>
> ---
> 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 <gbroner@xxxxxxxxxxxxxx>


--
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/