From: Mauro Carvalho Chehab Date: Fri, 27 Dec 2013 16:01:04 +0000 (-0300) Subject: [media] em28xx: Fix em28xx deplock X-Git-Tag: v3.14-rc1~20^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54a2a84ea9e8640b4f1df4e222e305d03bb64065;p=pandora-kernel.git [media] em28xx: Fix em28xx deplock When em28xx extensions are loaded/removed, there are two locks: a single static em28xx_devlist_mutex that registers each extension and the struct em28xx dev->lock. When extensions are registered, em28xx_devlist_mutex is taken first, and then dev->lock. Be sure that, when extensions are being removed, the same order will be used. Reviewed-by: Frank Schäfer Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed