commit | efc52a94840198eb5ba68107812b879d34959dbb | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Dec 16 22:04:56 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Dec 30 09:39:14 2008 -0200 |
tree | 24cfe20c1c2558e1c572a91718596f994a75b933 | |
parent | cf8c91c3e77cc26c43cfe6fc47e649b685736259 [diff] |
V4L/DVB (9912): em28xx: fix/improve em28xx locking schema Changes/fixes on em28xx dev->lock: - em28xx_init_dev() were unlocking without a previous lock; - some read ioctls need to lock after the removal of KBL, since a write may be happening at the same time an ioctl is reading; - keep the device locked during all device initialization; - lock/unlock while reading/writing registers. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>