r8169: Disable clk during suspend / resume
authorHans de Goede <hdegoede@redhat.com>
Wed, 26 Sep 2018 20:12:39 +0000 (22:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Sep 2018 18:47:57 +0000 (11:47 -0700)
commitac8bd9e13be22a3d24bfc80972d4688e3e50e457
treeb1fd327fcbbd2314020e8001e47f3d16de8ae0ec
parentc333fa0c4f220f8f7ea5acd6b0ebf3bf13fd684d
r8169: Disable clk during suspend / resume

Disable the clk during suspend to save power. Note that tp->clk may be
NULL, the clk core functions handle this without problems.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c