Re: [PATCH net] r8152: don't execute runtime suspend if the tx is not empty

2017-01-24 Thread David Miller
From: Hayes Wang Date: Mon, 23 Jan 2017 14:18:43 +0800 > Runtime suspend shouldn't be executed if the tx queue is not empty, > because the device is not idle. > > Signed-off-by: Hayes Wang Applied and queued up for -stable, thanks. -- To

[PATCH net] r8152: don't execute runtime suspend if the tx is not empty

2017-01-22 Thread Hayes Wang
Runtime suspend shouldn't be executed if the tx queue is not empty, because the device is not idle. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/r8152.c