Merge branch 'r8152-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 21:03:46 +0000 (14:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 21:03:46 +0000 (14:03 -0700)
Hayes Wang says:

====================
r8152: device reset

v3:
For patch #2, remove cancel_delayed_work().

v2:
For patch #1, remove usb_autopm_get_interface(), usb_autopm_put_interface(), and
the checking of intf->condition.

For patch #2, replace the original method with usb_queue_reset_device() to reset
the device.

v1:
Although the driver works normally, we find the device may get all 0xff data when
transmitting packets on certain platforms. It would break the device and no packet
could be transmitted. The reset is necessary to recover the hw for this situation.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge