OSDN Git Service

bus: mhi: Remove auto-start option
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 28 Sep 2020 04:09:50 +0000 (09:39 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 18 Nov 2020 07:26:27 +0000 (12:56 +0530)
commited5298c7d500abaf34ed7783969e953a1f028e5b
treee5119ea5fd03d214bfce39d37395b115a709f9e9
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
bus: mhi: Remove auto-start option

There is really no point having an auto-start for channels.
This is confusing for the device drivers, some have to enable the
channels, others don't have... and waste resources (e.g. pre allocated
buffers) that may never be used.

This is really up to the MHI device(channel) driver to manage the state
of its channels.

While at it, let's also remove the auto-start option from ath11k mhi
controller.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
[mani: clubbed ath11k change]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/core/init.c
drivers/bus/mhi/core/internal.h
drivers/net/wireless/ath/ath11k/mhi.c
include/linux/mhi.h