linux_dsm_epyc7002/drivers/bus/mhi
Bhaumik Bhatt 2ed4d58753 bus: mhi: core: Clear context for stopped channels from remove()
[ Upstream commit 4e44ae3d6d9c2c2a6d9356dd279c925532d5cd8c ]

If a channel was explicitly stopped but not reset and a driver
remove is issued, clean up the channel context such that it is
reflected on the device. This move is useful if a client driver
module is unloaded or a device crash occurs with the host having
placed the channel in a stopped state.

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-3-git-send-email-bbhatt@codeaurora.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-11 14:47:19 +02:00
..
core bus: mhi: core: Clear context for stopped channels from remove() 2021-05-11 14:47:19 +02:00
Kconfig bus: mhi: core: Introduce debugfs entries for MHI 2020-10-02 11:33:47 +02:00
Makefile bus: mhi: core: Add support for registering MHI controllers 2020-03-19 07:41:04 +01:00