]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dib0700: protect the dib0700 buffer access
authorOlivier Grenie <olivier.grenie@dibcom.fr>
Mon, 1 Aug 2011 15:45:58 +0000 (12:45 -0300)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:59 +0000 (11:17 -0800)
commit3313bbb9f05a55a1aa84cd008c02427ef3bcfba0
tree93db7ec218e80b34a6cf2007b23c866b57f53a8e
parentd61036b27eda10c91e7dbc83ea3ca77b4a0cf046
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