[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3fF/mCUVepTfTi+@lunn.ch>
Date: Fri, 18 Nov 2022 18:50:54 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Paul Cercueil <paul@...pouillou.net>,
"David S. Miller" <davem@...emloft.net>,
Heiner Kallweit <hkallweit1@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] net: davicom: dm9000: switch to using gpiod API
> > 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
Powered by blists - more mailing lists