Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp370800pxb; Thu, 9 Sep 2021 02:55:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqdndeA0hY1ke6Yrwn7UaQ/0ooaZZbPO/3M2uOVW2vARWcxLCnZ9/RcVWjYuMjWru5I7bk X-Received: by 2002:a05:6602:117:: with SMTP id s23mr1940552iot.124.1631181359097; Thu, 09 Sep 2021 02:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631181359; cv=none; d=google.com; s=arc-20160816; b=qGrl2e8rjNq1dGcvDM0K5nwFBO6ieJ72CvUclhqz2RubDmBbnlPswqx+7DaLP9LiPr hoX4T+h6Uk/vl1b43bdt+3LQUyUW0MiEdJKKpHNqj7bPMUTT9IrlWt1zPEKr5FmlUfuW iLZSkktwAcbqjXYsWSh/eyyMRBeGRR98xQTEW449TLeUlG1AdVaeXXHB9+5JdEdu7pTb htuuyw6t0nnQPBPRcHCiIZ0GG5eZ1DV3lW8fTn/VzasFeYydZzJNludb6X6h7uOiak+h 3nxw2tvo9hfoxpmyLqJV6ds/STYySBt/OMYBvkYm0cOjLx0x5Dy0BAq9cVO2VLOFKhxs RUpw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=s/Hv4I9PogZdkQVbwtwCM/QWYxj2wQTqldNgJavrJoI=; b=VbZyWZ+I63bHV5fioLDsY+0sPRMehfj6clDt71omw30k4JlIFDw/O6oRHOiVxktcDO 2UCg6XeM3H7D+caXkigAR4/jBHdveXruYyRGboSxoiSatAIG9ou4Qw7vwHNZ9Uqtyc6j sOlCPHL/NjXBxaWL1tSwZDCnjQG6aqKXRBr4UkVK8tm04K89FJoPy2e1oKquURh99ikJ IlKRm17ouLM6lGxoobEBdaAlG+mtQcfDIoN91tml+tPWVMNcq39ORl7wAR0kKbJEopbn BEwamAozShDUx9Svw6LmVSLTMJDV9ttGGiR/pH73W+ZDsgNnM/QNZViG96J3ggLxtoEV akLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=cEIMG72g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w16si1506628iol.0.2021.09.09.02.55.48; Thu, 09 Sep 2021 02:55:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=cEIMG72g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233728AbhIIJzM (ORCPT + 99 others); Thu, 9 Sep 2021 05:55:12 -0400 Received: from mout.gmx.net ([212.227.17.22]:34135 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233298AbhIIJzI (ORCPT ); Thu, 9 Sep 2021 05:55:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631181226; bh=s/Hv4I9PogZdkQVbwtwCM/QWYxj2wQTqldNgJavrJoI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=cEIMG72gAiMlxkREfNv0y8646lXORwA0hM4IPDxwf2IziBNYRSoxnEj1uorcgwdj9 EdYXf/vtlovblfDKYsTE211e8xbdMQF53oqwwYc5BL3lj+IK70oYC+Fh8jmWQuqox3 wEKzcFaBzFns+cHFD0pwgsXTMrmtnSBMlOz7aVAw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([46.223.119.124]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M72sJ-1mJ1Yk3tHz-008cns; Thu, 09 Sep 2021 11:53:46 +0200 From: Lino Sanfilippo To: olteanv@gmail.com Cc: p.rosenberger@kunbus.com, woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Lino Sanfilippo Subject: [PATCH 2/3] net: dsa: microchip: provide the function ksz_switch_shutdown() Date: Thu, 9 Sep 2021 11:53:23 +0200 Message-Id: <20210909095324.12978-3-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210909095324.12978-1-LinoSanfilippo@gmx.de> References: <20210909095324.12978-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:VscG5hDGP1HJbbSfBbJ2MFcsUsJYwimuUKYpw5D0TDrP6oMrB/E zn2IGBdFjpgnmXaw5zzuvCsRYjR51zZdTf0ONqBUed8m2TcK8yXWwyXyZ9OJKWPR+aM37m+ KtEfHPFa0UL4KBM5y0MoIMXwUhYZIwbb060HTH/76DjOyU7NeMbRGdQgU1b60x3jBLD18Ue w9vxNXbgK46GkmPJRkUyw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:9tf3mufsHwg=:3HVGNeYjp6DvIBt2TUvV5+ U65PEKjBzSqCgy7psLlqiY7/MP1UQDaVyNXy5wsSWWruK7chENeqY5kzrlLGDma41ESvD0vRm e9WgMvWXC+py49gkuL71T8/AjhPfgth0XqYhx2hRJ2fRx/ocZpfs8BuCPINp9L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