From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from a27-188.smtp-out.us-west-2.amazonses.com ([54.240.27.188]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFJxL-0002ok-UO for ath11k@lists.infradead.org; Mon, 07 Sep 2020 16:25:43 +0000 From: Kalle Valo Subject: Re: [PATCH v6 2/3] ath11k: copy ce service configs to hw_params References: <1598287470-1871-1-git-send-email-akolli@codeaurora.org> <1598287470-1871-3-git-send-email-akolli@codeaurora.org> <87363t52nj.fsf@codeaurora.org> <010101746838d751-613bfbba-7cfe-496c-9244-41fc2262f665-000000@us-west-2.amazonses.com> Date: Mon, 7 Sep 2020 16:25:19 +0000 In-Reply-To: <010101746838d751-613bfbba-7cfe-496c-9244-41fc2262f665-000000@us-west-2.amazonses.com> (akolli@codeaurora.org's message of "Mon, 7 Sep 2020 10:59:49 +0000") Message-ID: <010101746962d8a3-3e636eb4-52b5-4886-95a4-e77e8eefd7fc-000000@us-west-2.amazonses.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: akolli@codeaurora.org Cc: devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org akolli@codeaurora.org writes: > On 2020-09-07 15:28, Kalle Valo wrote: >> Anilkumar Kolli writes: >> >>> No functional changes, added target ce service configurations to >>> hw_params. >>> >>> Signed-off-by: Anilkumar Kolli >> >> [...] >> >>> --- a/drivers/net/wireless/ath/ath11k/core.c >>> +++ b/drivers/net/wireless/ath/ath11k/core.c >>> @@ -812,12 +812,6 @@ int ath11k_core_init(struct ath11k_base *ab) >>> return ret; >>> } >>> >>> - ret = ath11k_init_hw_params(ab); >>> - if (ret) { >>> - ath11k_err(ab, "failed to get hw params %d\n", ret); >>> - return ret; >>> - } >> >> This is very suspicious. > > ath11k_core_pre_init() is calling ath11k_init_hw_params(), again > calling same function in ath11k_core_init() is not needed. > > Will send this as a new patch ? Yes, please send this in a new patch with a proper commit log explaining the situation. -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k