[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181119.184343.1334940445389777881.davem@davemloft.net>
Date: Mon, 19 Nov 2018 18:43:43 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: opendmb@...il.com
Cc: f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, yuehaibing@...wei.com
Subject: Re: [PATCH net-next v2 0/2] net: bcmgenet: fix aborted suspend
From: Doug Berger <opendmb@...il.com>
Date: Mon, 19 Nov 2018 09:56:00 -0800
> It is not enough to return an error code from the driver suspend
> routine. The driver must also restore the device functionality.
>
> This commit corrects the issue introduced by commit 0db55093b566
> ("net: bcmgenet: return correct value 'ret' from bcmgenet_power_down")
> by calling the driver resume function if the suspend function returns
> an error.
>
> Changes in v2:
> - Removed accidentally included write to HFB register
Doug, this doesn't apply cleanly to net-next.
Powered by blists - more mailing lists