[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2c0ee11-a994-f371-f260-668f972a493f@gmail.com>
Date: Sat, 17 Nov 2018 11:52:36 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Martin Schiller <ms@....tdt.de>, andrew@...n.ch,
sergei.shtylyov@...entembedded.com
Cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6] net: phy: mdio-gpio: Fix working over slow can_sleep
GPIOs
On 15/11/2018 23:38, Martin Schiller wrote:
> 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>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
Thanks Martin!
--
Florian
Powered by blists - more mailing lists