[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160809.161956.2187735118267449721.davem@davemloft.net>
Date: Tue, 09 Aug 2016 16:19:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wenyou.yang@...el.com
Cc: f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
alexandre.belloni@...e-electrons.com, nicolas.ferre@...el.com
Subject: Re: [PATCH v2] net: phy: micrel: Add specific suspend
From: Wenyou Yang <wenyou.yang@...el.com>
Date: Fri, 5 Aug 2016 14:35:41 +0800
> Disable all interrupts when suspend, they will be enabled
> when resume. Otherwise, the suspend/resume process will be
> blocked occasionally.
>
> Signed-off-by: Wenyou Yang <wenyou.yang@...el.com>
> Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>
> ---
>
> Changes in v2:
> - Use fairly generic phydrv->config_intr() with
> PHY_INTERRUPT_DISABLED, then call genphy_suspend().
> - Modify kszphy_resume() with PHY_INTERRUPT_ENABLED accordingly.
> - Add static attribute for kszphy_suspend().
Applied, thanks.
Powered by blists - more mailing lists