Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp512110rdb; Fri, 26 Jan 2024 02:30:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvPMxIE693FAw7WSsHfGbIXUjNkPoU3yDTd4TzuSoHs1724CuQt8deVTcWB2SXA+1UF03Z X-Received: by 2002:a05:651c:b23:b0:2cf:2f60:cdd7 with SMTP id b35-20020a05651c0b2300b002cf2f60cdd7mr521675ljr.73.1706265019497; Fri, 26 Jan 2024 02:30:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706265019; cv=pass; d=google.com; s=arc-20160816; b=B2z58S4rTxJGFgNvPw8mTjsQeR3G3PyTgidROFuWxv5gEkr2Xlb1qAuS86k3J4fl+Y 1f42UOC5i7ps3yPOiwjylnMlxI6y4NecGXOqcCcyBeUl+S/en+hl2VN2kSkYqeGUzD/a E0a2l0/ly2qRPxKfSGLO/9ojVxzqATbuL7achn+YZZHxLpTcnVLwpVPdhzonpXjQB5zt wD95QNkiblwdOkuItpXYuwu86YrQdo0vPVCRv0kqLf7txjr2lXfFkaYIJ+R7MDaLUMyB xJonnwrui+XjeBbc0ITgZjx4Zd1TbG5Sys1ETO1skEi3mOFd8/LgfFRhH3xE2ynzwj9z +xXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=1k2FleW08EFpcRDpXrvxONkJfyn0V4juB3NAGIE5ozs=; fh=TsFggMnrxtfLaaIJZ56vlTjXOx4Rcl0VgHLekdA6UVE=; b=LIACgc4UTv0lOeTz6WPy368lHedDcLwRRtafTTeB7GPHQZfJiwyr0UyuZP+BKXYQDE aIUUII8rt0uYwbTzfKWDqvTHVr1fywrzVMC0PeCfQRtWCfcU7GoZIO2lm9XMVXojjjRb 62wlkXboDIxN6vHMuhDUMwA6ps9gpQplKXACMOMmbDxDU0VFOo4ywRY/D7LGjYhISqYo moOOenaKlFr0Q3xin4CVFzDEiAK3semKZ1J1tEUlgzwOs/NAB5/zAhLMfgzFrd+9fSDc ln0beK+YfFTP/5mfMOITVTp3j5CjhbBlEcpK79Y1KQRhAPAE+zOH/M/j5UOgWx2sZrF/ MeTw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=F8NHV3m1; arc=pass (i=1 spf=pass spfdomain=ysoft.com dkim=pass dkdomain=ysoft.com dmarc=pass fromdomain=ysoft.com); spf=pass (google.com: domain of linux-kernel+bounces-39987-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39987-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m29-20020a50931d000000b0054cfed181d5si504040eda.595.2024.01.26.02.30.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 02:30:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39987-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=F8NHV3m1; arc=pass (i=1 spf=pass spfdomain=ysoft.com dkim=pass dkdomain=ysoft.com dmarc=pass fromdomain=ysoft.com); spf=pass (google.com: domain of linux-kernel+bounces-39987-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39987-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3CFCA1F32BE4 for ; Fri, 26 Jan 2024 10:30:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3601F1C2BC; Fri, 26 Jan 2024 10:14:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ysoft.com header.i=@ysoft.com header.b="F8NHV3m1" Received: from uho.ysoft.cz (uho.ysoft.cz [81.19.3.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A81BE1BF4C; Fri, 26 Jan 2024 10:14:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=81.19.3.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706264071; cv=none; b=FiT4c/3HRHsm0UBz9Z19746XE5MamWaQyPhtJE9z9Dg5IQvxej0LyT5x97meMvVO8JGQeEQBkgsj1eIrCSPWSzOAznIY8kulIvxiMgxBtqDDIrCnuNGnx599yC5sdbNVvvUUs7SGc0vVoCpGjHRQ0gTzmOrpReat1CILSgu1ikA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706264071; c=relaxed/simple; bh=+0+nQq894MrTFCh+tHBfI/zmt74sL6Ou9mUQJRks7Oc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JvK0J/mfINiq+ErPXJnjrWmg5JjjJ9960C1f8FfKJTcBOq6Coz+rOqFKh4+JRCgF8R/5nJYEaK9SIsrdKVQebGnrgrFEI4O0+KjHpL/9xudWAQTBdSCe2fdAZ2FQwYzWIq33EFHJQkBuGkIVGMQfWL9VC7/xqLHsQLKKCkJbe+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ysoft.com; spf=pass smtp.mailfrom=ysoft.com; dkim=pass (1024-bit key) header.d=ysoft.com header.i=@ysoft.com header.b=F8NHV3m1; arc=none smtp.client-ip=81.19.3.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ysoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ysoft.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1706264062; bh=1k2FleW08EFpcRDpXrvxONkJfyn0V4juB3NAGIE5ozs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=F8NHV3m1Zf0Mvkxw8T7aJL6mVEThRHpk8gFOnVDprBZLb5m9g+KOQKTNMfalncjvz LO1xpipEarhkjEvTZva9FkioAaVQ5YDl4vB/8J2k6VNLdWNxz8GJQ5gPdHnrd0mF/S Tz+c+scwTnvCGQ1PwEo2Llun9rLyq1Srm99Tc0R4= Received: from [10.1.8.111] (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id 55D95A0717; Fri, 26 Jan 2024 11:14:22 +0100 (CET) Message-ID: <84e362b0-9a9f-461b-b472-a9b3666cb94b@ysoft.com> Date: Fri, 26 Jan 2024 11:14:22 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v2] net: dsa: qca8k: fix illegal usage of GPIO Content-Language: en-US To: Andrew Lunn Cc: Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Marangi , "Russell King (Oracle)" , =?UTF-8?Q?Marek_Beh=C3=BAn?= , Christian Lamparter , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, petr.benes@ysoft.com References: <1706096225-23468-1-git-send-email-michal.vokac@ysoft.com> <2477cf4a-6824-4997-aef8-3f8e5f9b2399@lunn.ch> From: =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= In-Reply-To: <2477cf4a-6824-4997-aef8-3f8e5f9b2399@lunn.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 25. 01. 24 17:59, Andrew Lunn wrote: >> diff --git a/drivers/net/dsa/qca/qca8k-8xxx.c b/drivers/net/dsa/qca/qca8k-8xxx.c >> index ec57d9d52072..3663de8f2617 100644 >> --- a/drivers/net/dsa/qca/qca8k-8xxx.c >> +++ b/drivers/net/dsa/qca/qca8k-8xxx.c >> @@ -2037,13 +2037,11 @@ qca8k_sw_probe(struct mdio_device *mdiodev) >> priv->dev = &mdiodev->dev; >> priv->info = of_device_get_match_data(priv->dev); >> >> - priv->reset_gpio = devm_gpiod_get_optional(priv->dev, "reset", >> - GPIOD_ASIS); >> + priv->reset_gpio = devm_gpiod_get_optional(priv->dev, "reset", GPIOD_OUT_HIGH); > > Sorry, i should of pointed this out on the previous version. netdev > kept with 80 character lines. That is why what you deleted was split > over two lines, and what you add should also split at the same point. OK, no problem I will fix that. I did not realize, that netdev kept that rule. Michal