Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 681294e7 authored by Can Guo's avatar Can Guo Committed by Asutosh Das
Browse files

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: default avatarCan Guo <cang@codeaurora.org>
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
parent d080cb7f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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