From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D871CC4332F for ; Fri, 18 Nov 2022 17:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235284AbiKRRvG (ORCPT ); Fri, 18 Nov 2022 12:51:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234447AbiKRRvF (ORCPT ); Fri, 18 Nov 2022 12:51:05 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA0327176; Fri, 18 Nov 2022 09:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=2/tGuQk+quL8EnY2oUSo5xafrJYw/UKce+lVahsCk6o=; b=KIh8+5v3KUAWLF5XHPvuNEcRIm 7u1Zoq/pp3aI8F0mJLH4EZ9lax3bivxTxV1UQFKlW8XD2AWrdMyis41D9TAC+V9Xg75gcL/USJgSs Pg4TkGf0Exys4Ld85/Vxvm1SYuJSA/nNP26oatamHmVfWys99ydawJdEegqzcKpDtB78=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ow5Vu-002pAe-Qe; Fri, 18 Nov 2022 18:50:54 +0100 Date: Fri, 18 Nov 2022 18:50:54 +0100 From: Andrew Lunn To: Dmitry Torokhov Cc: Paul Cercueil , "David S. Miller" , Heiner Kallweit , Linus Walleij , Bartosz Golaszewski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] net: davicom: dm9000: switch to using gpiod API Message-ID: References: <20220906204922.3789922-1-dmitry.torokhov@gmail.com> <88VJLR.GYSEKGBPLGZC1@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > > Why is that 1 magically turned into a 0? > > Because gpiod uses logical states (think active/inactive), not absolute > ones. Here we are deasserting the reset line. This is the same question/answer you had with me. Maybe it is worth putting this into the commit message for other patches in your series to prevent this question/answer again and again. Andrew