[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190228142243.GA8189@lunn.ch>
Date: Thu, 28 Feb 2019 15:22:43 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Antoine Tenart <antoine.tenart@...tlin.com>
Cc: davem@...emloft.net, linux@...linux.org.uk, f.fainelli@...il.com,
hkallweit1@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com,
maxime.chevallier@...tlin.com, gregory.clement@...tlin.com,
miquel.raynal@...tlin.com, nadavh@...vell.com, stefanc@...vell.com,
ymarkman@...vell.com, mw@...ihalf.com
Subject: Re: [PATCH net-next 3/3] net: phy: marvell10g: set the PHY in low
power by default
> Signed-off-by: Antoine Tenart <antoine.tenart@...tlin.com>
> ---
> drivers/net/phy/marvell10g.c | 13 ++-----------
> 1 file changed, 2 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c
> index e5d098bd33a6..765edd34a7dd 100644
> --- a/drivers/net/phy/marvell10g.c
> +++ b/drivers/net/phy/marvell10g.c
> @@ -245,17 +245,8 @@ static int mv3310_probe(struct phy_device *phydev)
> if (ret)
> return ret;
>
> - return 0;
> -}
> -
> -static int mv3310_suspend(struct phy_device *phydev)
> -{
> - return 0;
> -}
> -
> -static int mv3310_resume(struct phy_device *phydev)
> -{
> - return mv3310_hwmon_config(phydev, true);
Hi Antoine
I'm confused.
Didn't patch 1 just add suspend and resume callback? And here you are
removing some other suspend and resume callbacks? Did we have two sets
for a short while?
Andrew
Powered by blists - more mailing lists