mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02: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:
parent
d128444a89
commit
5178c2e7dc
|
|
@ -2884,6 +2884,7 @@ int ufshcd_query_flag(struct ufs_hba *hba, enum query_opcode opcode,
|
|||
ufshcd_release(hba);
|
||||
return err;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ufshcd_query_flag);
|
||||
|
||||
/**
|
||||
* ufshcd_query_attr - API function for sending attribute requests
|
||||
|
|
@ -2948,6 +2949,7 @@ int ufshcd_query_attr(struct ufs_hba *hba, enum query_opcode opcode,
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user