Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1399902pxb; Fri, 1 Apr 2022 12:19:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBWoNESxvSoq+Ty1O9iDlBc/m90FfKAUa5fY7S9ISIxEqLN11Mg/zJuEz2niy7p0HcRo9w X-Received: by 2002:a17:906:a057:b0:6cf:2736:ba65 with SMTP id bg23-20020a170906a05700b006cf2736ba65mr1110518ejb.171.1648840787093; Fri, 01 Apr 2022 12:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648840787; cv=none; d=google.com; s=arc-20160816; b=QF7MC4vJdIkUH4C4EByxCylbmrdMPW3Co+oxpYPE5trYVoAo4z9vmuthViXG40G9Dr qrtMx4tKBZQxLh/88hA62EhgBg75HDMR1+52eFdKm07egnbdS3QAmIRHN457M8ZGT89M ZBdnPUoJ3rClqNN3yB0furcznSbyAu591StJZYURazQ5laSrtDL7km8dnqSybVT73Sid 6DgFW8AxkoxGWyueB4ZXZRW2EOvudtsP+WQ3EZWidEuxahTC2l4yTntWCttm/WXgDyL5 dl+8KUf88fsK4EBPNVvUnExIc3+C2P7k7MI5wFJKX1OZPextpRBYrX1vQizUuRkj4SoM GC0Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LCGDbvMne0WAmC2f/gWYYutkuwMQKoK72EicKrjncFs=; b=SB8rQE08yZ9ad4TsFwZDoLLHyVscpUkMmzJiWaeDePuhgnmvWqzQZmVHiBSpe4x35D N2UxiYMupdP2dULP689yBOoiGFyKnkWYV3n6u+fJ1TbYIO0N3bhp0MfAS8CcvJNg8Kof qTyMQcRRsWwHnwqzOXNpCFowG7O5AnIozmQAohfIV9icjn+tVixf435lWgM5fExuJ5Q7 +FNoViwvAQSt/4MPVxC8qyVh6I81OLxCo3hRbzCNB/iVFI07q0EthLYbo7KLX5YaI/pQ Xda5fR9rgRfatPDINudDJQYW81W8hmb+Vh16pUMDr5U0hZhEIkvyPKdfZeHlpDBiQT3d imhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SBC9ji05; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n26-20020aa7c45a000000b00418fe90d5e1si2270105edr.431.2022.04.01.12.19.30; Fri, 01 Apr 2022 12:19:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SBC9ji05; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350103AbiDARck (ORCPT + 68 others); Fri, 1 Apr 2022 13:32:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350104AbiDARci (ORCPT ); Fri, 1 Apr 2022 13:32:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D62B1AAA40 for ; Fri, 1 Apr 2022 10:30:49 -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 ams.source.kernel.org (Postfix) with ESMTPS id C8E66B8258E for ; Fri, 1 Apr 2022 17:30:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3FADC2BBE4; Fri, 1 Apr 2022 17:30:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648834246; bh=RQCpqP+2w7fIiUWEq3fqVySlWEsSP9xopeGa9g2TQvM=; h=From:To:Cc:Subject:Date:From; b=SBC9ji05Bx1olG2OYwBczO6gZD+dmndI0v4FwYNzJlTAyxV0vJdtdcipRPsW5Sj0n GvodO2j4JcON7160b0DYeyg9alADnburI6ZB9TZeqHu13tSjoSjlmi5RKtMoZdglxg uh3FC76wczXLUtt8iNmSf6jJ0dmZHyn5Exp1fiqBjrRo+ThmJXiRCVK1ntsZCA8CY5 E5yebZt4/oFBB0E6SqwoZWxje3EIaAkN2a5AlDH/OuW+y2FJUJS+BrKgkXUefnKj5n b6b+Xv+eneKZqSpikqDb7zWiIkZwEWPqmowqmq3Hfo2bCkEy5SZEXtwveZN6R3LznR r9Aqta/ii3+zg== From: Kalle Valo To: ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org Subject: [PATCH 0/3] ath11k: mhi cleanup Date: Fri, 1 Apr 2022 20:30:39 +0300 Message-Id: <20220401173042.17467-1-kvalo@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Kalle Valo Some minor cleanup to mhi.c, please review. Kalle Valo (3): ath11k: mhi: remove state machine ath11k: mhi: add error handling for suspend and resume ath11k: mhi: remove unnecessary goto from ath11k_mhi_start() drivers/net/wireless/ath/ath11k/mhi.c | 222 ++++---------------------- drivers/net/wireless/ath/ath11k/mhi.h | 17 +- drivers/net/wireless/ath/ath11k/pci.c | 8 +- drivers/net/wireless/ath/ath11k/pci.h | 1 - 4 files changed, 38 insertions(+), 210 deletions(-) base-commit: 57b7042c114767b7330b14a260f61732e556742e -- 2.30.2