[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180206.112106.1969451846361571627.davem@davemloft.net>
Date: Tue, 06 Feb 2018 11:21:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, f.fainelli@...il.com,
chzigotzky@...osoft.de
Subject: Re: [PATCH net] net: phy: Handle not having GPIO enabled in the
kernel
From: Andrew Lunn <andrew@...n.ch>
Date: Mon, 5 Feb 2018 19:17:23 +0100
> If CONFIG_GPIOLIB is disabled, fwnode_get_named_gpiod() becomes a stub
> function, which return -ENOSYS. Handle this in the same way as
> -ENOENT, i.e. assume there is no GPIO used to reset the PHYs.
>
> Reported-by: Christian Zigotzky <chzigotzky@...osoft.de>
> Tested-by: Christian Zigotzky <chzigotzky@...osoft.de>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
> Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
> Fixes: bafbdd527d56 ("phylib: Add device reset GPIO support")
Applied, thanks Andrew.
Powered by blists - more mailing lists