]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: fix the submission of the interrupt transfer
authorhayeswang <hayeswang@realtek.com>
Thu, 6 Feb 2014 03:55:48 +0000 (11:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Feb 2014 05:18:06 +0000 (21:18 -0800)
commit2d108b34073159902f7e09aee2520edbad5db666
treeed33c0c241f233ab0422a41efeae1242a46d5d01
parent5b574bdb65d87604e092f47dc08949d2488224ad
r8152: fix the submission of the interrupt transfer

The submission of the interrupt transfer should be done after setting
the bit of WORK_ENABLE, otherwise the callback function would have
the opportunity to be returned directly.

Clear the bit of WORK_ENABLE before killing the interrupt transfer.

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