diff options
author | Jeffrey Hugo <jhugo@codeaurora.org> | 2020-05-01 00:35:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-05 16:58:35 +0200 |
commit | ce312258084ea0c828e11c831c7b9e8b42b02ef8 (patch) | |
tree | 00e3f895952437f577283a78097074228e011c95 /include | |
parent | 115f32512f13c0280161908e9de45a97a87673bb (diff) | |
download | linux-ce312258084ea0c828e11c831c7b9e8b42b02ef8.tar.bz2 |
bus: mhi: core: Make sure to powerdown if mhi_sync_power_up fails
Powerdown is necessary if mhi_sync_power_up fails due to a timeout, to
clean up the resources. Otherwise a BUG could be triggered when
attempting to clean up MSIs because the IRQ is still active from a
request_irq().
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Reviewed-by: Hemant Kumar <hemantk@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200430190555.32741-3-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions