Re: [PATCH net] r8152: fix runtime function for RTL8152

2016-07-05 Thread David Miller
From: Hayes Wang Date: Tue, 5 Jul 2016 16:11:46 +0800 > The RTL8152 doesn't have U1U2 and U2P3 features, so use different > runtime functions for RTL812 and RTL8153 by adding autosuspend_en() > to rtl_ops. > > Signed-off-by: Hayes Wang Applied,

[PATCH net] r8152: fix runtime function for RTL8152

2016-07-05 Thread Hayes Wang
The RTL8152 doesn't have U1U2 and U2P3 features, so use different runtime functions for RTL812 and RTL8153 by adding autosuspend_en() to rtl_ops. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 24 +--- 1 file changed, 17 insertions(+), 7