]> 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)
commit921208fae9695f7ae9c57226fe41ffefafd7e12d
tree8644b530646ae8e4880f81caa2f11bf4d812402f
parentd3055bf397c968e4b03dc329a432f7a209683a2d
parent9f241058b29cf59a5d64ce0ce03799c0ce0a2af2
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>