]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: vt6656: return if pControlURB->hcpriv not NULL
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 14 Oct 2013 18:44:13 +0000 (19:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Oct 2013 16:42:13 +0000 (09:42 -0700)
commite1feda132fdf3e8d16689bbc6af38d40278a4e92
tree8db4038cf76e7d6512612bec45ed48de872bb170
parent60cc27472c9c4239cf6aec957fdb520510a5d93a
staging: vt6656: return if pControlURB->hcpriv not NULL

Fixes occasional urb submitted while active.

Even thought the fMP_CONTROL_WRITES/fMP_CONTROL_READS flags
are cleared in the return context urb->hcpriv is not NULL.

check for hcpriv and return STATUS_FAILURE if not NULL.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/usbpipe.c