Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1048201pxb; Wed, 6 Apr 2022 07:30:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWNPEmLC69UJF5adAfNQsDNiKe0M6ogIqBWUyXR1iBNC/HLBXn2utqBU2Ydq0DJOnAPDOt X-Received: by 2002:a05:6870:538f:b0:e1:e893:95c5 with SMTP id h15-20020a056870538f00b000e1e89395c5mr4334154oan.11.1649255440245; Wed, 06 Apr 2022 07:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649255440; cv=none; d=google.com; s=arc-20160816; b=0EQYQ7/vYECamYk5x0Ot+f1XxgXg2OSnY2MmzWpQHYGvNb7uXQR79Bzn9UAZLtVCTW Ohp22/eM7oULrzJFSswOyTtjnEYWll35y/ECr1KHfpgek28Xkrikpnr6YnQYhR4vWPTJ ncOwySLU6xFZrQ3uQmt4XoPPk65n3WKDl/aaZ0nD3eIzofqSwBM9OvNGIoRpzW3ROELP atOt6XtjeL4N8bNgF1fYra41nDhOqNAvD9C/3iROSpX0+doDxiT+T6ODFQSlZ3wqzRWG A3Bmw7kPO11tMeQ5hLAA5IAT5lqweAJx3lFGDFHYVVB2W9zZ/ZdYbxbEHN21bjMVV7M5 urbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=Cw0mKBr/PD4Kmr+kTpl/eh/Jk+sz9Kg2uYLysAII440=; b=JTBFaVrDNy/P+fUBMMzUJevXO7zez97j7z3cJlwc0l0iucEIKCvQCdQ9gXCNqxwST+ /V/rqVORYCq46CquQE3bSaCF45iHsrlpjZQC1bNgHvOdF8795ZxIyCojJpv71AmejXc9 DZfZGshnWVKA4Jv/6dvYdxdLH/BnOEuAJaKrsH31QoMatE5gWlvDPeKCvmwf63669tuD 7lmXKNR3fJsno7D8W0ZHDCdWKNgpTnsDi/vokfPYxPJTe/WGBT10X9zqcWcWckWvj6OL s4Oa6U10Jdj82eCbLtN71Xc327/gKQOomV3TT3PAPoR82iI3M9YSVZOJFZyQXmIFWqB3 0/xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uK0zSkFm; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s26-20020a0568301e1a00b005cb2fc138bcsi8386846otr.312.2022.04.06.07.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:30:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uK0zSkFm; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 69E992A86A0; Wed, 6 Apr 2022 05:11:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231518AbiDFMLL (ORCPT + 69 others); Wed, 6 Apr 2022 08:11:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232455AbiDFMKr (ORCPT ); Wed, 6 Apr 2022 08:10:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16591E0E7 for ; Wed, 6 Apr 2022 00:53:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9626161B0A for ; Wed, 6 Apr 2022 07:53:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4205EC385A1; Wed, 6 Apr 2022 07:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649231632; bh=ZKS3bP+zoQ863hHbXEVIvhh1eH+0Ni6uGvVD21pxl/U=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=uK0zSkFmvXvDtzEvlDP6GSyjE6as1o9beyqCP0GRYttW+xL48/3HeTaeqAXACIMEd rORUFSYSYc1jwQynzKO5OE5P5ieQx/BC5hpOw7XizDuoQO/PAid+IGlMoZuh65fw/t 7/B9PBK9NNZmOWoR3gTAXyod6Nsq2VC3Mjo1g08sNzU31VTNoVa/jDp9V9edXRRTze erWk4uKdMC7T65NkoGbaWFGYPRZqAwBEXZslrnVuFS1dBagjhbl7iKF/n4T3Jd96+G wNjZsQoPFG8rh9w84foOUZo1yEt3LVuHlcSZBBZS4q1nRo3wWmkKNEIPVP6fHTHONu nKWk1oFiqlC2Q== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/3] ath11k: mhi: remove state machine From: Kalle Valo In-Reply-To: <20220401173042.17467-2-kvalo@kernel.org> References: <20220401173042.17467-2-kvalo@kernel.org> To: Kalle Valo Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <164923162903.31835.17335207502754178945.kvalo@kernel.org> Date: Wed, 6 Apr 2022 07:53:51 +0000 (UTC) X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Kalle Valo wrote: > State machines are difficult to understand and in this case it's just useless, > which is shown by the diffstat. So remove it entirely to make the code simpler. > > No functional changes. > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03003-QCAHSPSWPL_V1_V2_SILICONZ_LITE-2 > Signed-off-by: Kalle Valo 3 patches applied to ath-next branch of ath.git, thanks. 5fe7847bb63b ath11k: mhi: remove state machine 4afe7c40380e ath11k: mhi: add error handling for suspend and resume 7dabaa64c04a ath11k: mhi: remove unnecessary goto from ath11k_mhi_start() -- https://patchwork.kernel.org/project/linux-wireless/patch/20220401173042.17467-2-kvalo@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches