]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/bus/mhi/core/pm.c
bus: mhi: core: Move to an error state on mission mode failure
authorBhaumik Bhatt <bbhatt@codeaurora.org>
Mon, 9 Nov 2020 20:47:27 +0000 (12:47 -0800)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 18 Nov 2020 09:50:34 +0000 (15:20 +0530)
commitdc53d862eab89000ebc87240274943793f0af682
tree61f33be0e52e20cdbd52a1f308ecbdce3b899457
parentfaa257075bcc35e2c2ee68eb83e4e53d3bb02a90
bus: mhi: core: Move to an error state on mission mode failure

If the host receives a mission mode event and by the time it can get
to processing it, the register accesses fail implying a connectivity
error, MHI should move to an error state. This helps avoid longer wait
times from a synchronous power up perspective and accurately reflects
the MHI execution environment and power management states.

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>
drivers/bus/mhi/core/pm.c