All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] phy: micrel: Reenable interrupts during on resume for ksz9031
@ 2016-08-22 20:43 Xander Huff
  2016-08-22 22:03 ` Xander Huff
  0 siblings, 1 reply; 2+ messages in thread
From: Xander Huff @ 2016-08-22 20:43 UTC (permalink / raw)
  To: f.fainelli
  Cc: netdev, brad.mouring, Xander Huff, linux-kernel, Nathan Sullivan

Like the ksz8081, the ksz9031 has the behavior where it will clear the interrupt
enable bits when leaving power down. This takes advantage of the solution
provided by f5aba91.

Signed-off-by: Xander Huff <xander.huff@ni.com>
Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Natinst-ReviewBoard-ID: 149877
---
 drivers/net/phy/micrel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 053e879..885ac9c 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -964,7 +964,7 @@ static struct phy_driver ksphy_driver[] = {
 	.get_strings	= kszphy_get_strings,
 	.get_stats	= kszphy_get_stats,
 	.suspend	= genphy_suspend,
-	.resume		= genphy_resume,
+	.resume		= kszphy_resume,
 }, {
 	.phy_id		= PHY_ID_KSZ8873MLL,
 	.phy_id_mask	= MICREL_PHY_ID_MASK,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] phy: micrel: Reenable interrupts during on resume for ksz9031
  2016-08-22 20:43 [PATCH] phy: micrel: Reenable interrupts during on resume for ksz9031 Xander Huff
@ 2016-08-22 22:03 ` Xander Huff
  0 siblings, 0 replies; 2+ messages in thread
From: Xander Huff @ 2016-08-22 22:03 UTC (permalink / raw)
  To: f.fainelli; +Cc: netdev, Brad Mouring, linux-kernel, Nathan Sullivan

On 8/22/2016 3:43 PM, Xander Huff wrote:
> Like the ksz8081, the ksz9031 has the behavior where it will clear the interrupt
> enable bits when leaving power down. This takes advantage of the solution
> provided by f5aba91.
>
> Signed-off-by: Xander Huff <xander.huff@ni.com>
> Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
> Natinst-ReviewBoard-ID: 149877
> ---
>   drivers/net/phy/micrel.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
> index 053e879..885ac9c 100644
> --- a/drivers/net/phy/micrel.c
> +++ b/drivers/net/phy/micrel.c
> @@ -964,7 +964,7 @@ static struct phy_driver ksphy_driver[] = {
>   	.get_strings	= kszphy_get_strings,
>   	.get_stats	= kszphy_get_stats,
>   	.suspend	= genphy_suspend,
> -	.resume		= genphy_resume,
> +	.resume		= kszphy_resume,
>   }, {
>   	.phy_id		= PHY_ID_KSZ8873MLL,
>   	.phy_id_mask	= MICREL_PHY_ID_MASK,
>
Please disregard this patch as it was accidentally sent. Please instead refer to 
my subsequent email with the subject:
"[PATCH] phy: micrel: Reenable interrupts during resume for ksz9031"

-- 
Xander Huff
Staff Software Engineer
National Instruments

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-22 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-22 20:43 [PATCH] phy: micrel: Reenable interrupts during on resume for ksz9031 Xander Huff
2016-08-22 22:03 ` Xander Huff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.