diff mbox series

[v1,1/1] ufs: core: Export interface for sending raw UPIU commands

Message ID 20250327114604.118030-2-selvakumar.kalimuthu@in.bosch.com
State New
Headers show
Series *** export interface for custom UPIU transfer *** | expand

Commit Message

Selvakumar Kalimuthu (MS/ECC-CF3-XC) March 27, 2025, 11:46 a.m. UTC
Expose an interface for external vendor modules to send raw UPIU
commands to the UFS device. This allows vendors can create own
module to issue custom commands and retrieve device-specific
information.

Exporting this symbol enables OEMs to develop vendor modules that
can send raw UPIU commands from their processes, facilitating
access to necessary device information.

Signed-off-by: Selvakumar Kalimuthu <selvakumar.kalimuthu@in.bosch.com>
---
 drivers/ufs/core/ufshcd.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 78b57e946cdf..226cc90c74b0 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -7360,6 +7360,7 @@  int ufshcd_exec_raw_upiu_cmd(struct ufs_hba *hba,
 
 	return err;
 }
+EXPORT_SYMBOL_GPL(ufshcd_exec_raw_upiu_cmd);
 
 /**
  * ufshcd_advanced_rpmb_req_handler - handle advanced RPMB request