V4L/DVB (9647): em28xx: void having two concurrent control URB's
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Nov 2008 09:17:44 +0000 (06:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Nov 2008 19:20:14 +0000 (17:20 -0200)
Now that we have a polling task for IR, there's a race condition, since
IR can be polling while other operations are being doing. Also, we are
now sharing the same urb_buf for both read and write control urb
operations. So, we need a mutex.

Thanks to Davin Heitmueller <devin.heitmueller@gmail.com> for warning me.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found