未验证 提交 faa25707 编写于 作者: B Bhaumik Bhatt 提交者: Manivannan Sadhasivam

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: NBhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: NManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
上级 12e050c7
...@@ -497,7 +497,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) ...@@ -497,7 +497,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl)
if (ret) { if (ret) {
dev_err(dev, "MHI did not enter READY state\n"); dev_err(dev, "MHI did not enter READY state\n");
goto error_read; goto error_ready_state;
} }
/* Wait for the SBL event */ /* Wait for the SBL event */
...@@ -508,7 +508,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) ...@@ -508,7 +508,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl)
if (!ret || MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state)) { if (!ret || MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state)) {
dev_err(dev, "MHI did not enter SBL\n"); dev_err(dev, "MHI did not enter SBL\n");
goto error_read; goto error_ready_state;
} }
/* Start full firmware image download */ /* Start full firmware image download */
...@@ -524,7 +524,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl) ...@@ -524,7 +524,7 @@ void mhi_fw_load_handler(struct mhi_controller *mhi_cntrl)
return; return;
error_read: error_ready_state:
mhi_free_bhie_table(mhi_cntrl, mhi_cntrl->fbc_image); mhi_free_bhie_table(mhi_cntrl, mhi_cntrl->fbc_image);
mhi_cntrl->fbc_image = NULL; mhi_cntrl->fbc_image = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册