mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
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:
parent
a70116e190
commit
17c4bdb216
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue