Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4450095rwb; Mon, 21 Nov 2022 07:45:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf7K2tXzMu1a58P4/UzA3TQVnfJnW5hiF8a3KOe4NDFTzHBKxOc4KRhE/sCM8Yx2H+0Xl6VN X-Received: by 2002:a17:906:77d0:b0:7ae:1826:b27b with SMTP id m16-20020a17090677d000b007ae1826b27bmr7576204ejn.692.1669045521126; Mon, 21 Nov 2022 07:45:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669045521; cv=none; d=google.com; s=arc-20160816; b=cWWUQSwD00RUBEtmP084xVsBb2XAKtMUGZHgQ3mpqYjI10HFQjNUkBLxJftAzuOKd8 03pJkb5gtdxC7HDXr3RtQvWm720keDCvhHFDuhMGs7XJR/E6DTENYMRFbhqcp5JDWZNw ubzfZNHSx/3UgEtDGEtbqT58k8pW8YwDmPwofX3HjNKTuyAY2t9VZyiDFyhhdBy0L8D4 jRLdn9qXW6WkjhP5PSNQEj1EqgdbMsn9iNciA+ptODpfuPETK4+6ZAH+zX7lJWKlnwyl RDG9VSftYsgX8jB2Yok2xRS2yrLNEs3/g2qWcU6NFKNTLsOFsu0l5xDG+LDHn+c8QMIe jNkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=EoHv4wZ7cO+qtvQFQobf0iwyoUhYFThbUDUITSUDijo=; b=SAmQf8ZdGrEc2zGcCCId6WUjMRVGIcgyNej+fGN3A9tJXFq4YAgaREdFmnsV0iP+Jt +hliZIM9pN4jUBHIyY6ClatHiKdlfSMficVn6nVWWLm+wmXaWvWmfhkRZiybWPKyvFcc DIzb43rwYKUIBnsL9bYRkVyHHh9E3pNZxole5iUCa2Er8fr555XA9UmF7KmpqVVSOKc9 mgHofeQ/p86RcOnjWeY/rgEfaogyBn1uMObCnUk0y2wh0D2Y0xJxeX93638barVPY1It yGSTGlops4Nv0dTz1k2fU/7K9ZoWxSMNPkOz3HlfCnDXnEAiBuImx2q8cR6ba4CZJ0KY 0jKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Gx+uBKz7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 gu12-20020a170906f28c00b007ae563c7becsi7544841ejb.886.2022.11.21.07.44.58; Mon, 21 Nov 2022 07:45:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=Gx+uBKz7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231191AbiKUOXZ (ORCPT + 91 others); Mon, 21 Nov 2022 09:23:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230437AbiKUOXO (ORCPT ); Mon, 21 Nov 2022 09:23:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2908515715; Mon, 21 Nov 2022 06:23:13 -0800 (PST) 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 B19D161278; Mon, 21 Nov 2022 14:23:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 768A5C433C1; Mon, 21 Nov 2022 14:23:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669040592; bh=HFpo77BQsl9Ohhe2NaWGfq8emkBB12mjiU/sde8Xnzg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gx+uBKz7w78qUyoXj7z1zrl3gBMfjuCsa7QUoh8o5+YzvncgLa3L4jK1hzipWMa7i SKUX4DYjNnl3rfH7/RQuZYRk1W19cxngraxbbfMH1dcDlYfB/Wf2A3p6ULrPK505S6 alydqN8o14100jPPXUpJM5b8cEXtqQVa+ySaSaUYiN3dbEwKCn+fcH5ZHeB+kCpYUh P5BnsfCVwQYoQOMgjNz22gNJX/bBlJ37qXy4cXSh0/gjJvdEotvBmtqPZFXTj8ShJT rTU7eaRDu5Oi3YGj0QM7gagWTqnbAktkYvdUCaG3h4mSRyLkhNts2MVqBVknDp0Vto W/ojNxR2r4DRg== From: Roger Quadros To: davem@davemloft.net, kuba@kernel.org Cc: edumazet@google.com, pabeni@redhat.com, vigneshr@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros Subject: [PATCH v2 2/4] net: ethernet: ti: am65-cpsw-nuss: Remove redundant ALE_CLEAR Date: Mon, 21 Nov 2022 16:22:58 +0200 Message-Id: <20221121142300.9320-3-rogerq@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221121142300.9320-1-rogerq@kernel.org> References: <20221121142300.9320-1-rogerq@kernel.org> 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 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-kernel@vger.kernel.org ALE_CLEAR command is issued in cpsw_ale_start() so no need to issue it before the call to cpsw_ale_start(). Fixes: fd23df72f2be ("net: ethernet: ti: am65-cpsw: Add suspend/resume support") Signed-off-by: Roger Quadros --- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/ti/am65-cpsw-nuss.c b/drivers/net/ethernet/ti/am65-cpsw-nuss.c index 505c9edf98ff..2acde5b14516 100644 --- a/drivers/net/ethernet/ti/am65-cpsw-nuss.c +++ b/drivers/net/ethernet/ti/am65-cpsw-nuss.c @@ -404,7 +404,6 @@ static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common) /* disable priority elevation */ writel(0, common->cpsw_base + AM65_CPSW_REG_PTYPE); - cpsw_ale_control_set(common->ale, 0, ALE_CLEAR, 1); cpsw_ale_start(common->ale); /* limit to one RX flow only */ -- 2.17.1