mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
BACKPORT: FROMLIST: scsi: ufs: Export query request interfaces
Vendor drivers may need to send query requests in proprietary 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:
@@ -2884,6 +2884,7 @@ out_unlock:
|
||||
ufshcd_release(hba);
|
||||
return err;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ufshcd_query_flag);
|
||||
|
||||
/**
|
||||
* ufshcd_query_attr - API function for sending attribute requests
|
||||
@@ -2948,6 +2949,7 @@ out:
|
||||
ufshcd_release(hba);
|
||||
return err;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ufshcd_query_attr);
|
||||
|
||||
/**
|
||||
* ufshcd_query_attr_retry() - API function for sending query
|
||||
@@ -3082,6 +3084,7 @@ int ufshcd_query_descriptor_retry(struct ufs_hba *hba,
|
||||
|
||||
return err;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ufshcd_query_descriptor_retry);
|
||||
|
||||
/**
|
||||
* ufshcd_read_desc_length - read the specified descriptor length from header
|
||||
|
||||
Reference in New Issue
Block a user