diff options
author | Bhaumik Bhatt <bbhatt@codeaurora.org> | 2020-11-09 12:47:26 -0800 |
---|---|---|
committer | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2020-11-18 15:20:34 +0530 |
commit | faa257075bcc35e2c2ee68eb83e4e53d3bb02a90 (patch) | |
tree | 3201456203442cb469554755e25618b8369915ba | |
parent | 12e050c77be036377fee479dccd479202d8d6853 (diff) | |
download | linux-faa257075bcc35e2c2ee68eb83e4e53d3bb02a90.tar.gz linux-faa257075bcc35e2c2ee68eb83e4e53d3bb02a90.tar.bz2 linux-faa257075bcc35e2c2ee68eb83e4e53d3bb02a90.zip |
bus: mhi: core: Use appropriate label in firmware load handler API
Correct the "error_read" label to say "error_ready_state" as that
is the appropriate usage of the label.
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r-- | drivers/bus/mhi/core/boot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bus/mhi/core/boot.c b/drivers/bus/mhi/core/boot.c index 7b57bb9a3080..c2546bf229fb 100644 --- a/drivers/bus/mhi/core/boot.c +++ b/drivers/bus/mhi/core/boot.c @@ -497,7 +497,7 @@ fw_load_ee_pthru: if (ret) { dev_err(dev, "MHI did not enter READY state\n"); - goto error_read; + goto error_ready_state; } /* Wait for the SBL event */ @@ -508,7 +508,7 @@ fw_load_ee_pthru: if (!ret || MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state)) { dev_err(dev, "MHI did not enter SBL\n"); - goto error_read; + goto error_ready_state; } /* Start full firmware image download */ @@ -524,7 +524,7 @@ fw_load_ee_pthru: return; -error_read: +error_ready_state: mhi_free_bhie_table(mhi_cntrl, mhi_cntrl->fbc_image); mhi_cntrl->fbc_image = NULL; |