From ea84e9776a978ec06af9ea4c69cf9957f47bfdc0 Mon Sep 17 00:00:00 2001 From: Lazarus Motha Date: Fri, 21 Oct 2022 16:24:00 -0700 Subject: [PATCH] bus: mhi: host: Fix compilation error in mhi_prepare_for_power_up This commit fixes compilation error resulting due to missing ampersand in mhi__prepare_for_power_up API. Change-Id: I7f23e9c67ad95374a4085d1161a6e8d9f8dbe9dc Signed-off-by: Lazarus Motha --- drivers/bus/mhi/host/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/mhi/host/init.c b/drivers/bus/mhi/host/init.c index 3878d875bf5e..63744d87b817 100644 --- a/drivers/bus/mhi/host/init.c +++ b/drivers/bus/mhi/host/init.c @@ -1167,7 +1167,7 @@ int mhi_prepare_for_power_up(struct mhi_controller *mhi_cntrl) mhi_cntrl->rddm_image); if (ret) { mhi_free_bhie_table(mhi_cntrl, - mhi_cntrl->rddm_image); + &mhi_cntrl->rddm_image); goto error_reg_offset; } }