commit | 344d6c6ba6ba5c4fede2f07adbd26d53109a2dd8 | [log] [tgz] |
---|---|---|
author | Jonathan Nieder <jrnieder@gmail.com> | Sun May 01 06:30:14 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri May 20 09:29:38 2011 -0300 |
tree | e76f78428ccde8e7c294f23ce128728ce0afb3d6 | |
parent | 1d6213ab995c61f7d1d81cf6cf876acf15d6e714 [diff] |
[media] cx88: protect cx8802_devlist with a mutex Add and use a mutex to protect the cx88-mpeg device list. Previously the BKL prevented races. Based on work by Ben Hutchings <ben@decadent.org.uk>. Tested-by: Andi Huber <hobrom@gmx.at> Tested-by: Marlon de Boer <marlon@hyves.nl> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>