RE: Re: [PATCH] scsi: ufs: Add selector to ufshcd_query_flag* APIs

From: Daejun Park
Date: Thu Mar 18 2021 - 22:52:15 EST


Hi Martin

>
>Daejun,
>
>> Unlike other query APIs in UFS, ufshcd_query_flag has a fixed selector
>> as 0. This patch allows ufshcd_query_flag API to choose selector value
>> by parameter.
>
>I don't see any users of the added parameter. Am I missing something?

The JEDEC standard describes it as follows:
The selector field may be needed to further identify a particular element of a flag.

Other cannot used it because it is fixed as zero in the API.

Thanks,
Daejun

The selector field may be needed to further identify a particular element of a flag. Selector field is not
2218 used in this version of the standard and its value shall be zero.
>
>--
>Martin K. Petersen Oracle Linux Engineering
>
>
>