From patchwork Fri Jul 8 07:56:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?QmlhbyBIdWFuZyAo6buE5b2qKQ==?= X-Patchwork-Id: 12910742 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17DD5CCA47F for ; Fri, 8 Jul 2022 08:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=lfRC672u0jl/yytOqsLwd/1RVCRYj0mXPObDA7clNmI=; b=zawQo0IYhSQCfX qr3a5lskt8WKKye8py7mRYvIHZjZLHJAPT58bcDyHV1TrzuPob621Z4pz7o4C0IWVCFT4vuPdCvHo 0Cec+m4liintDGNDECUL358X/ucdnO6PUyW76CotD7r9EkOFsfvQxLA19KE7AUJDcTAGeSexUmaaI hMG8vyEaQHMqh/4KR+WtWghsbWW5nPTaC9QYt7z0GaJRF2gRs05B4SKh67yNprbWkYqgzPcXd7MXX aIp3MoNoFF1ytS0i4XZkrONmpLSl2qDpxSDo9DcZ+wjo66R0QDeV2twFfl3fKoMf4/HdySa4AB9jP 9nffs+8nPCF883VnfDVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9jdy-002elB-OT; Fri, 08 Jul 2022 08:47:23 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9jds-002eiu-Hn; Fri, 08 Jul 2022 08:47:17 +0000 X-UUID: 9cb3485f52e14f4d9b4b82fd5df3688c-20220708 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.8,REQID:8cde9fe3-05e3-4bc8-8512-bfd2c7666e53,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:0f94e32,CLOUDID:3d42f6d6-5d6d-4eaf-a635-828a3ee48b7c,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:nil,BEC:nil,COL:0 X-UUID: 9cb3485f52e14f4d9b4b82fd5df3688c-20220708 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 699340520; Fri, 08 Jul 2022 01:47:10 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Fri, 8 Jul 2022 15:56:35 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 8 Jul 2022 15:56:24 +0800 From: Biao Huang To: David Miller CC: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Matthias Brugger , AngeloGioacchino Del Regno , Biao Huang , , , , , , Subject: [PATCH net v2 0/1] stmmac: dwmac-mediatek: fix clock issue Date: Fri, 8 Jul 2022 15:56:21 +0800 Message-ID: <20220708075622.26342-1-biao.huang@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220708_014716_852317_A5729AF8 X-CRM114-Status: UNSURE ( 6.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org changes in v2: 1. clock configuration is still needed in probe, and invoke mediatek_dwmac_clks_config() instead. 2. update commit message. v1: remove duplicated clock configuration in init/exit. Biao Huang (1): stmmac: dwmac-mediatek: fix clock issue .../ethernet/stmicro/stmmac/dwmac-mediatek.c | 32 ++++++------------- 1 file changed, 10 insertions(+), 22 deletions(-)