BACKPORT: FROMLIST: scsi: ufs: Export query request interfaces

Vendor drivers may need to send query requests in vendor specific
implementations. Hence, export the query request interfaces so that
vendor drivers can use them.

Removed export of internal helper functions:
ufshcd_query_attr_retry() and ufshcd_query_flag_retry().

Bug: 146013342
Change-Id: Ibe3082097554e89e03b33a926ef013503bac0e74
Link: https://lore.kernel.org/patchwork/patch/1163542/
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
This commit is contained in:
Can Guo 2019-12-05 18:16:12 -08:00
commit 17c4bdb216

View file

@ -2859,6 +2859,7 @@ out_unlock:
ufshcd_release(hba);
return err;
}
EXPORT_SYMBOL(ufshcd_query_flag);
/**
* ufshcd_query_attr - API function for sending attribute requests
@ -2923,6 +2924,7 @@ out:
ufshcd_release(hba);
return err;
}
EXPORT_SYMBOL(ufshcd_query_attr);
/**
* ufshcd_query_attr_retry() - API function for sending query
@ -3057,6 +3059,7 @@ int ufshcd_query_descriptor_retry(struct ufs_hba *hba,
return err;
}
EXPORT_SYMBOL(ufshcd_query_descriptor_retry);
/**
* ufshcd_read_desc_length - read the specified descriptor length from header