lkml.org 
[lkml]   [2018]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.4 174/190] sky2: Increase D3 delay to sky2 stops working after suspend
    Date
    4.4-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Kai-Heng Feng <kai.heng.feng@canonical.com>


    [ Upstream commit afb133637071be6deeb8b3d0e55593ffbf63c527 ]

    The sky2 ethernet stops working after system resume from suspend:
    [ 582.852065] sky2 0000:04:00.0: Refused to change power state, currently in D3

    The current 150ms delay is not enough, change it to 200ms can solve the
    issue.

    BugLink: https://bugs.launchpad.net/bugs/1758507
    Cc: Stable <stable@vger.kernel.org>
    Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/net/ethernet/marvell/sky2.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/net/ethernet/marvell/sky2.c
    +++ b/drivers/net/ethernet/marvell/sky2.c
    @@ -5079,7 +5079,7 @@ static int sky2_probe(struct pci_dev *pd
    INIT_WORK(&hw->restart_work, sky2_restart);

    pci_set_drvdata(pdev, hw);
    - pdev->d3_delay = 150;
    + pdev->d3_delay = 200;

    return 0;


    \
     
     \ /
      Last update: 2018-04-11 22:20    [W:4.193 / U:0.732 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site