linux/drivers/bus/mhi/core
Loic Poulain 0092a1e3f7 bus: mhi: Add inbound buffers allocation flag
Currently, the MHI controller driver defines which channels should
have their inbound buffers allocated and queued. But ideally, this is
something that should be decided by the MHI device driver instead,
which actually deals with that buffers.

Add a flag parameter to mhi_prepare_for_transfer allowing to specify
if buffers have to be allocated and queued by the MHI stack.

Keep auto_queue flag for now, but should be removed at some point.

Link: https://lore.kernel.org/r/1624566520-20406-1-git-send-email-loic.poulain@linaro.org
Tested-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Hemant Kumar <hemantk@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20210802051255.5771-2-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-05 14:28:14 +02:00
..
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: Add inbound buffers allocation flag 2021-08-05 14:28:14 +02:00
main.c bus: mhi: Add inbound buffers allocation flag 2021-08-05 14:28:14 +02:00
Makefile bus: mhi: core: Fix the building of MHI module 2020-10-02 11:33:47 +02:00
pm.c bus: mhi: Wait for M2 state during system resume 2021-06-24 15:51:54 +02:00