From: Malcolm Priestley Date: Wed, 30 Jan 2013 20:07:29 +0000 (+0000) Subject: staging: vt6656: Fix URB submitted while active warning. X-Git-Tag: v3.9-rc1~127^2~205 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5943de8c8c4438cbac5cda599ff0b88c224468;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org # 3.8 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed