]> 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)
commit680302d4bfa533da06d7e69d0386d1a370bb3504
tree935eeebaada3a47f21dd1c36c868abe8dad90d2d
parent3cd5c1721c70e2ab78213c1abf669a0a44445366
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