aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2013-01-30 15:07:29 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-31 04:30:45 -0500
commitae5943de8c8c4438cbac5cda599ff0b88c224468 (patch)
treec5ccd9d89df4e3e94b32ccac553908eaefc7a38f /init
parentd13b0b6d51e78b0107c76d79cf0ef06d9e07650b (diff)
staging: vt6656: Fix URB submitted while active warning.
This error happens because PIPEnsControlOut and PIPEnsControlIn unlock the spin lock for delay, letting in another thread. The patch moves the current MP_SET_FLAG to before filling of sUsbCtlRequest for pControlURB and clears it in event of failing. Any thread calling either function while fMP_CONTROL_READS or fMP_CONTROL_WRITES flags set will return STATUS_FAILURE. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Cc: stable@vger.kernel.org # 3.8 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions