diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2011-05-01 11:30:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 14:29:38 +0200 |
commit | 344d6c6ba6ba5c4fede2f07adbd26d53109a2dd8 (patch) | |
tree | e76f78428ccde8e7c294f23ce128728ce0afb3d6 /drivers/hwmon/max16064.c | |
parent | [media] cx88: hold device lock during sub-driver initialization (diff) | |
download | linux-344d6c6ba6ba5c4fede2f07adbd26d53109a2dd8.tar.xz linux-344d6c6ba6ba5c4fede2f07adbd26d53109a2dd8.zip |
[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>
Diffstat (limited to 'drivers/hwmon/max16064.c')
0 files changed, 0 insertions, 0 deletions