linux/drivers/bus/mhi/core
Bhaumik Bhatt 8e06e9fb99 bus: mhi: core: Check channel execution environment before issuing reset
A client can attempt to unprepare certain channels for transfer even
after the execution environment they are supposed to run in has changed.
In the event that happens, the device need not be notified of the reset
and the host can proceed with clean up for the channel context and
memory allocated for it on the host as the device will no longer be able
to respond to such a request.

Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Hemant Kumar <hemantk@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/1617311778-1254-8-git-send-email-bbhatt@codeaurora.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2021-04-07 12:25:42 +05:30
..
boot.c bus: mhi: core: Wait for MHI READY state in most scenarios 2021-03-31 16:51:43 +05:30
debugfs.c bus: mhi: core: Rename debugfs directory name 2021-03-10 20:11:22 +05:30
init.c bus: mhi: core: Clear configuration from channel context during reset 2021-04-07 12:25:42 +05:30
internal.h bus: mhi: core: Improvements to the channel handling state machine 2021-04-07 12:25:42 +05:30
main.c bus: mhi: core: Check channel execution environment before issuing reset 2021-04-07 12:25:42 +05:30
Makefile bus: mhi: core: Fix the building of MHI module 2020-10-02 11:33:47 +02:00
pm.c bus: mhi: core: Remove pre_init flag used for power purposes 2021-04-07 12:25:41 +05:30