[media] dib0700: protect the dib0700 buffer access
authorOlivier Grenie <olivier.grenie@dibcom.fr>
Mon, 1 Aug 2011 15:45:58 +0000 (12:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Aug 2011 12:31:36 +0000 (09:31 -0300)
commitbff469f4167fdabfe15294f375577d7eadbaa1bb
tree2f89dde514f48ee94958408fbbe1db9c8d4741cf
parent79fcce3230b140f7675f8529ee53fe2f9644f902
[media] dib0700: protect the dib0700 buffer access

This patch protects the common buffer access inside the dib0700 in order
to manage concurrent access. This protection is done using mutex.

Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Florian Mickler <florian@mickler.org>
Cc: stable@kernel.org
Signed-off-by: Javier Marcet <javier@marcet.info>
Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr>
Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr>
[mchehab@redhat.com: dprint requires 3 arguments. Replaced by dib_info]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_core.c