From patchwork Mon Sep 28 10:14:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 289494 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D51BC4741F for ; Mon, 28 Sep 2020 10:14:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 40CD320809 for ; Mon, 28 Sep 2020 10:14:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NXYlJVpU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbgI1KOa (ORCPT ); Mon, 28 Sep 2020 06:14:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726477AbgI1KOa (ORCPT ); Mon, 28 Sep 2020 06:14:30 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA90DC061755 for ; Mon, 28 Sep 2020 03:14:29 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id d6so535336pfn.9 for ; Mon, 28 Sep 2020 03:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=lEjtDbZBdnjwRGg1kcxyC6IQVySSuPpaAq8CQ3uaqk4=; b=NXYlJVpUrTv+/1Krlr85vgsRzg8u3U6sgLwkCmvrmaEH9I23hl2tObiY2XLc9OXbem gKkpSn5UWnghhX5PVzzmwMFhkZ5UeA9P/O4fImXEoSsEdRAF7YfblRHPyPfMgwTehFQE lfEFZWSnEoCtgbCF7cKw7GBGQVhoj3VTt9BIfMEJkPfkEuDbk/D6wZpX8tebrUwHG7HR QAIpf9p9ea7/S5pRCYUnKcZ4tr9NQfuZ9Z37yR7+rzQQYkFPBoKKmCdDBZ6U7EN+BN7W 00EkemutwsO9VSpMfQH8EFBhFeGU5ds37jNt900gfVgHPgsn1wtxMTaePg+vK+xPMoAF dsIg== 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; bh=lEjtDbZBdnjwRGg1kcxyC6IQVySSuPpaAq8CQ3uaqk4=; b=buOH4ZXRT5y0AKc3iaayWBEtnQUy2CwtpQrtpP6JNRhdTGQViKdsw+BDHPvUD+zZCA i4OswcFL1LTIjbxnnWJQpboWffgB2EHetQdCstWdOD9d3d5SQOO1rSKXIyXE5cvzzzSO C1LNWtvvRNEM2knlwpgV0gYjsGSvSpeSZLX+lDxov+JGQ5pc7dHBimzneepzTLA8cwzF 72R8qxjYqcPmN4ybE+4v6CT7+KF/5L2ys4qHfgbol2pvwCGQ8YPLe0fqrG2CIiVozVKP 3EZSQn7qP15mABWIswCTefVrpE/hLwe6GKQ+y87UOwXyOvfrTnOvwh4yt7VEC+Ucm6nE TudA== X-Gm-Message-State: AOAM530WCPZu9g/RDdgiPbwiBcfmRVrsGlhkHSLNovpx368kbd7RnAvY koNKIklLg/3swPSR0nb/3CSm X-Google-Smtp-Source: ABdhPJzk5liziJ5Xk81J4WAuyzs16FSdF17XsjQZbPE9e+Qx3QjWmkcc6ex9RnRBasBTwy5ArTcw/w== X-Received: by 2002:a17:902:8e85:b029:d2:42a6:bb6 with SMTP id bg5-20020a1709028e85b02900d242a60bb6mr874211plb.72.1601288069243; Mon, 28 Sep 2020 03:14:29 -0700 (PDT) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id k6sm1045524pfh.92.2020.09.28.03.14.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 03:14:28 -0700 (PDT) From: Manivannan Sadhasivam To: ath11k@lists.infradead.org Cc: kvalo@codeaurora.org, davem@davemloft.net, govinds@codeaurora.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au, Manivannan Sadhasivam Subject: [PATCH] ath11k: remove auto_start from channel config struct Date: Mon, 28 Sep 2020 15:44:20 +0530 Message-Id: <20200928101420.18745-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Recent change in MHI bus removed the option to auto start the channels during MHI driver probe. The channel will only be started when the MHI client driver like QRTR gets probed. So, remove the option from ath11k channel config struct. Fixes: 1399fb87ea3e ("ath11k: register MHI controller device for QCA6390") Reported-by: Stephen Rothwell Signed-off-by: Manivannan Sadhasivam --- drivers/net/wireless/ath/ath11k/mhi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/mhi.c b/drivers/net/wireless/ath/ath11k/mhi.c index aded9a719d51..47a1ce1bee4f 100644 --- a/drivers/net/wireless/ath/ath11k/mhi.c +++ b/drivers/net/wireless/ath/ath11k/mhi.c @@ -24,7 +24,6 @@ static struct mhi_channel_config ath11k_mhi_channels[] = { .offload_channel = false, .doorbell_mode_switch = false, .auto_queue = false, - .auto_start = false, }, { .num = 1, @@ -39,7 +38,6 @@ static struct mhi_channel_config ath11k_mhi_channels[] = { .offload_channel = false, .doorbell_mode_switch = false, .auto_queue = false, - .auto_start = false, }, { .num = 20, @@ -54,7 +52,6 @@ static struct mhi_channel_config ath11k_mhi_channels[] = { .offload_channel = false, .doorbell_mode_switch = false, .auto_queue = false, - .auto_start = true, }, { .num = 21, @@ -69,7 +66,6 @@ static struct mhi_channel_config ath11k_mhi_channels[] = { .offload_channel = false, .doorbell_mode_switch = false, .auto_queue = true, - .auto_start = true, }, };