]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: set RTL8152_UNPLUG when finding -ENODEV
authorhayeswang <hayeswang@realtek.com>
Thu, 30 Oct 2014 03:46:40 +0000 (11:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 20:55:17 +0000 (16:55 -0400)
commit0e045e2e793d658e9f09bc6e5af2d4d065f9577d
tree935eeebaada3a47f21dd1c36c868abe8dad90d2d
parent363e87cdffd5fd21788e933f8d19258e2c6b936c
r8152: set RTL8152_UNPLUG when finding -ENODEV

Set RTL8152_UNPLUG when finding -ENODEV. This could accelerate
unloading the driver when the device is unplugged.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c