Message ID | 20201202094159.107075-3-manivannan.sadhasivam@linaro.org |
---|---|
State | Accepted |
Commit | a2e2cc0dbb1121dfa875da1c04f3dff966fec162 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp777761ejs; Wed, 2 Dec 2020 01:44:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7WT7FmNXNfw5+wDcc4eaoyZWRvSrBc8FSsRJ3/dNVrXjgZJczlUnw4wBSkzJrI2+gepsu X-Received: by 2002:a05:6402:19b4:: with SMTP id o20mr1751520edz.103.1606902280379; Wed, 02 Dec 2020 01:44:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606902280; cv=none; d=google.com; s=arc-20160816; b=P+JnRJSnf4jpTPhNRmafhWid4r/FdSkjwPrXFStVZmJ8B7ASUXE9txxZd/4HRABfdI onYqs+YqkvMDqTd67IFtRrRg5lM1Vk80vwCV0ygmoX6DFZp7UkT9POPQDLPbFo/lHlt9 ZCJLvk2VMDzaWofjaW4/I0TgxzT9QcblfG16QSk159p/G9STuMG423W0lZt7YXhDsaJ3 Nsb1bAHqeMbBy8MmYCzKQ456SHw2ViQ41NuyNx6D0u6Fylmlw8UNRo0b1uCgYrQ6an4Z 9xU/yBP6psGgsswAwBZjVu315Msl+hxL2NpuXgCa6opn+Tcd0xEFu27mw26UGm/vBGxU 50Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hhWOGsCeI+HSWEvhDneQIbO6o/toOvKW/eQPadkWVL8=; b=pBngvjwU96VYh+CjQSx7DA9ySynsKQ0iLOhmc1NWM6w5qS+9ELoXAzP1wDbDutM2vB UpphNpcmbOffTXxZa1ZXy2Lu9TZCkAN7yzGYkVnhlMwrta0XXHnJwh505yH68ft2jMBD 7sbvcJAVfYnklGZUz/kRoMDZ5tmm3sodPYGOlhpuEYcQIeLg7jOMhQACgVkQ+Cqh0eng BsRE5CFvkXIlwCPeXZiPdgcrR44m+cNa7izX4JJpfRASIE5NmzkQMo2nBVp53xvUDzjs JOKm+Bg42l7GrPCwkGuZ1nOFgr86kXiPK85hPiSB++AmdAMo7WIHhJeK7moGlAUhsZmg ueKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sMHsqd84; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-arm-msm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do13si531726ejc.286.2020.12.02.01.44.40; Wed, 02 Dec 2020 01:44:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sMHsqd84; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729283AbgLBJnq (ORCPT <rfc822;patch@linaro.org> + 15 others); Wed, 2 Dec 2020 04:43:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727219AbgLBJnp (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Wed, 2 Dec 2020 04:43:45 -0500 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A2BCC061A04 for <linux-arm-msm@vger.kernel.org>; Wed, 2 Dec 2020 01:42:33 -0800 (PST) Received: by mail-pl1-x643.google.com with SMTP id r2so830118pls.3 for <linux-arm-msm@vger.kernel.org>; Wed, 02 Dec 2020 01:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hhWOGsCeI+HSWEvhDneQIbO6o/toOvKW/eQPadkWVL8=; b=sMHsqd84F90wtO1XKZOardsS6wf+SqJDnu9gf1RtjRGgzhOwjJwULiEWzy4BPtflbi j3kVTr2S5hnz6pOehmu8D6AL7WSyO49VlPjM9cuyvRLa1pidTb+5SSTXQMK4TPRvGlEW +ch9g6ht++BIyDNS3xJC531s+FYDpDrmofUUZl928V1PH6pAwCijER+QPMaybT3vPbi1 Wcfkh1QNgPKFl7wAPYzjYom/F9St2PhRZ+OfZ39AeJ7jv5O9Gsr1WUWrsPFsFwp3BKyq f6prqZbWqh6Y9iGd0PgMI+0Vi75aHzHsXGcEupAHlhtjsxXQLrnaMp2Ld/JGNaWzsAqt W0RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hhWOGsCeI+HSWEvhDneQIbO6o/toOvKW/eQPadkWVL8=; b=iywS7bJHLYAf6RWLIGPhFdD7z1t8Tunzb6xbzos9jDTp8F6sn8oPZ31Fm2XogHeOjQ rCAwKVG4WF/QeAhmLkB1sQen2oIpGPPhUCffDo5j/ERdtpdI6kD/atZvcubg4LZSZoOC H6Bjmgst7T1lWRoZmeBhFZjxK0X18KIsulDmo/SzTZBk4ns+E9nkwbqCFIQoRaJMJWPC cdgcKt/kJuxFEV5IqK+klFG2R0Gwyw62+ltVMNwcGYPzwAP7FaUoQwUxykPY/I8NexqW Y0XJuW9g0Sdjuuq0B1kh8JKRM4ld7zbGhneKXs3Ej4b8U41CvXYh9oF/pDsorTPmeLCA DQ3Q== X-Gm-Message-State: AOAM5323fQsXdOHZDEPrjhwrG1nAnw5I/Sqzz6kOoTE9gu5oV5iiujXN Y2UEQ6wurRqA3OyJrDKhm7m/ X-Received: by 2002:a17:902:aa02:b029:da:a2fc:413e with SMTP id be2-20020a170902aa02b02900daa2fc413emr1786374plb.5.1606902152819; Wed, 02 Dec 2020 01:42:32 -0800 (PST) Received: from localhost.localdomain ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id bg8sm1393990pjb.52.2020.12.02.01.42.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 01:42:31 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, "David S . Miller" <davem@davemloft.net> Subject: [PATCH 02/29] net: qrtr: Start MHI channels during init Date: Wed, 2 Dec 2020 15:11:32 +0530 Message-Id: <20201202094159.107075-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201202094159.107075-1-manivannan.sadhasivam@linaro.org> References: <20201202094159.107075-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
MHI changes for v5.11
|
expand
|
diff --git a/net/qrtr/mhi.c b/net/qrtr/mhi.c index ff0c41467fc1..7100f0bac4c6 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;