From 494c8a0354c67dbd0be79a904234debd7fe9880f Mon Sep 17 00:00:00 2001 From: Lazarus Motha Date: Tue, 27 Sep 2022 14:20:25 -0700 Subject: [PATCH] bus: mhi: ctrl: Fix number of arguments in API mhi_prepare_for_tranfer Pass only mhi_dev as an argument to this API, to eliminate compiler error, "too many arguments to function call, expected single argument". Change-Id: I20e3fef30c8368f9a12e98e1458a724f073c4f1b Signed-off-by: Lazarus Motha --- drivers/bus/mhi/controllers/mhi_arch_qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/mhi/controllers/mhi_arch_qcom.c b/drivers/bus/mhi/controllers/mhi_arch_qcom.c index 4dff834863f3..b307b47c2b50 100644 --- a/drivers/bus/mhi/controllers/mhi_arch_qcom.c +++ b/drivers/bus/mhi/controllers/mhi_arch_qcom.c @@ -372,7 +372,7 @@ static int mhi_bl_probe(struct mhi_device *mhi_device, ipc_log_string(arch_info->boot_ipc_log, HLOG "Entered SBL, Session ID:0x%x\n", mhi_cntrl->session_id); - ret = mhi_prepare_for_transfer(mhi_device, 0); + ret = mhi_prepare_for_transfer(mhi_device); if (ret) return ret;