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 <quic_lmotha@quicinc.com>
This commit is contained in:
Lazarus Motha 2022-09-27 14:20:25 -07:00
parent 931f63edf2
commit 494c8a0354

View File

@ -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;