]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5b5cd1666b85d2632c827f692beb37f1eeffec3
tree8644b530646ae8e4880f81caa2f11bf4d812402f
parentc38fbcb38d2c0b797ce567e20220450f97055ff8
parente78f2fe3e8f711c649de1db93e378faf5f8c39dd
Merge branch 'r8152-fixes'

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>