Re: [PATCH net-next] r8152: saving the settings of EEE

2019-08-22 Thread David Miller
From: Hayes Wang Date: Thu, 22 Aug 2019 16:07:18 +0800 > + if (tp->eee_en) { > + r8152_eee_en(tp, true); > + r8152_mmd_write(tp, MDIO_MMD_AN, MDIO_AN_EEE_ADV, tp->eee_adv); > + } else { > + r8152_eee_en(tp, false); > + r8152_mmd_write(tp, MD

[PATCH net-next] r8152: saving the settings of EEE

2019-08-22 Thread Hayes Wang
Saving the settings of EEE to avoid they become the default settings after reset_resume(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 86 +++-- 1 file changed, 56 insertions(+), 30 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/u