dib0700: protect the dib0700 buffer access
commit7846990372f8ba213d1fdfb9eed22ca7969fa437
authorOlivier Grenie <olivier.grenie@dibcom.fr>
Mon, 1 Aug 2011 15:45:58 +0000 (1 12:45 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:28 +0000 (11 09:43 -0800)
tree4c3b3915a4d6584c353edbc8f04377663eb76ed3
parent4c505e95cf8dd1ce490c65fc89da183a535d9132
dib0700: protect the dib0700 buffer access

commit bff469f4167fdabfe15294f375577d7eadbaa1bb upstream.

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>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/dvb-usb/dib0700_core.c