[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181117.211241.896508192479782600.davem@davemloft.net>
Date: Sat, 17 Nov 2018 21:12:41 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ms@....tdt.de
Cc: andrew@...n.ch, sergei.shtylyov@...entembedded.com,
f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6] net: phy: mdio-gpio: Fix working over slow
can_sleep GPIOs
From: Martin Schiller <ms@....tdt.de>
Date: Fri, 16 Nov 2018 08:38:36 +0100
> Up until commit 7e5fbd1e0700 ("net: mdio-gpio: Convert to use gpiod
> functions where possible"), the _cansleep variants of the gpio_ API was
> used. After that commit and the change to gpiod_ API, the _cansleep()
> was dropped. This then results in WARN_ON() when used with GPIO
> devices which do sleep. Add back the _cansleep() to avoid this.
>
> Fixes: 7e5fbd1e0700 ("net: mdio-gpio: Convert to use gpiod functions where possible")
> Signed-off-by: Martin Schiller <ms@....tdt.de>
Applied and queued up for -stable.
Powered by blists - more mailing lists