[media] tm6000: Add locking for USB transfers
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 4 Aug 2011 07:14:10 +0000 (04:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 31 Aug 2011 20:17:18 +0000 (17:17 -0300)
commitfc4eab2cbae547fb278c2583b77ee0ff7f5832d3
tree9f82aea3471ce105c5df1ecdd6b9fc2ca600fc08
parentc0fa65ff9e7fdbdea7bf1bbc02fb2c3ee6814cc7
[media] tm6000: Add locking for USB transfers

This commit introduces the usb_lock mutex to ensure that a USB request
always gets the proper response. While this is currently not really
necessary it will become important as there are more users.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-cards.c
drivers/staging/tm6000/tm6000-core.c
drivers/staging/tm6000/tm6000.h