From: Mauro Carvalho Chehab Date: Wed, 17 Dec 2008 01:04:56 +0000 (-0300) Subject: V4L/DVB (9912): em28xx: fix/improve em28xx locking schema X-Git-Tag: v2.6.29-rc1~556^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc52a94840198eb5ba68107812b879d34959dbb;p=pandora-kernel.git 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 --- Reading git-diff-tree failed