Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1459190

Re: [PATCH v2] net: phy: micrel: Add specific suspend

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] net: phy: micrel: Add specific suspend
Date 2016-08-10 01:30 +0200
Message-ID <s4oD8-5EB-53@gated-at.bofh.it> (permalink)
References <s2H7b-3Xz-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Wenyou Yang <wenyou.yang@atmel.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@atmel.com>
> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] net: phy: micrel: Add specific suspend Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-05 08:50 +0200
  Re: [PATCH v2] net: phy: micrel: Add specific suspend David Miller <davem@davemloft.net> - 2016-08-10 01:30 +0200

csiph-web