From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: Loic Poulain <loic.poulain@linaro.org>
Cc: hemantk@codeaurora.org, davem@davemloft.net,
netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org,
bjorn.andersson@linaro.org
Subject: Re: [PATCH v2 2/2] net: qrtr: Start MHI channels during init
Date: Sat, 26 Sep 2020 13:26:56 +0530 [thread overview]
Message-ID: <20200926075656.GE9302@linux> (raw)
In-Reply-To: <1600674184-3537-2-git-send-email-loic.poulain@linaro.org>
On Mon, Sep 21, 2020 at 09:43:04AM +0200, Loic Poulain wrote:
> Start MHI device channels so that transfers can be performed.
> The MHI stack does not auto-start channels anymore.
>
> Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Dave: I'd like to queue this patch through MHI tree because there is a dependent
change in MHI bus. So, can you please provide your Ack?
Thanks,
Mani
> ---
> v2: split MHI and qrtr changes in dedicated commits
>
> net/qrtr/mhi.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/net/qrtr/mhi.c b/net/qrtr/mhi.c
> index ff0c414..7100f0b 100644
> --- a/net/qrtr/mhi.c
> +++ b/net/qrtr/mhi.c
> @@ -76,6 +76,11 @@ static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev,
> struct qrtr_mhi_dev *qdev;
> int rc;
>
> + /* start channels */
> + rc = mhi_prepare_for_transfer(mhi_dev);
> + if (rc)
> + return rc;
> +
> qdev = devm_kzalloc(&mhi_dev->dev, sizeof(*qdev), GFP_KERNEL);
> if (!qdev)
> return -ENOMEM;
> --
> 2.7.4
>
next prev parent reply other threads:[~2020-09-26 7:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-21 7:43 [PATCH v2 1/2] bus: mhi: Remove auto-start option Loic Poulain
2020-09-21 7:43 ` [PATCH v2 2/2] net: qrtr: Start MHI channels during init Loic Poulain
2020-09-26 7:56 ` Manivannan Sadhasivam [this message]
2020-09-26 19:32 ` David Miller
2020-09-27 3:02 ` Manivannan Sadhasivam
2020-11-16 5:22 ` Manivannan Sadhasivam
2020-11-16 5:22 ` Manivannan Sadhasivam
2020-09-21 14:20 ` [PATCH v2 1/2] bus: mhi: Remove auto-start option Manivannan Sadhasivam
2020-09-21 18:42 ` bbhatt
2020-09-26 8:00 ` Manivannan Sadhasivam
2020-09-27 3:01 ` Manivannan Sadhasivam
2020-11-16 5:21 ` Manivannan Sadhasivam
2020-11-16 5:21 ` Manivannan Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200926075656.GE9302@linux \
--to=manivannan.sadhasivam@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=davem@davemloft.net \
--cc=hemantk@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=loic.poulain@linaro.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.