]> 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)
commit7d02199a480f3918c346bb3da35b8ae19ffc35a3
treeed33c0c241f233ab0422a41efeae1242a46d5d01
parent5ff653af9fbef2bd0e3acc11cdd063acca85a881
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