Revision 9b15dfe0542fd6f7455c6aeca1cf711192343bf9 authored by Marek Szyprowski on 28 April 2016, 10:25:04 UTC, committed by Mauro Carvalho Chehab on 02 May 2016, 13:39:58 UTC
Commit 0c426c472b5585ed6e59160359c979506d45ae49 ("[media] media: Always keep a graph walk large enough around") changed media_device_register_entity() function to take mdev->graph_mutex. This causes deadlock in driver probe, which calls (indirectly) this function with ->graph_mutex taken. This patch removes taking ->graph_mutex in driver probe to avoid deadlock. Other drivers don't take ->graph_mutex for entity registration, so this change should be safe. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1 parent 243d4c0
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 3.0 KB |
Makefile | -rw-r--r-- | 359 bytes |
acl.c | -rw-r--r-- | 8.8 KB |
acl.h | -rw-r--r-- | 1.2 KB |
checkpoint.c | -rw-r--r-- | 29.5 KB |
data.c | -rw-r--r-- | 41.7 KB |
debug.c | -rw-r--r-- | 14.2 KB |
dir.c | -rw-r--r-- | 21.5 KB |
extent_cache.c | -rw-r--r-- | 17.5 KB |
f2fs.h | -rw-r--r-- | 67.3 KB |
file.c | -rw-r--r-- | 44.7 KB |
gc.c | -rw-r--r-- | 22.7 KB |
gc.h | -rw-r--r-- | 2.8 KB |
hash.c | -rw-r--r-- | 2.0 KB |
inline.c | -rw-r--r-- | 14.0 KB |
inode.c | -rw-r--r-- | 11.6 KB |
namei.c | -rw-r--r-- | 26.2 KB |
node.c | -rw-r--r-- | 53.0 KB |
node.h | -rw-r--r-- | 11.1 KB |
recovery.c | -rw-r--r-- | 14.9 KB |
segment.c | -rw-r--r-- | 64.6 KB |
segment.h | -rw-r--r-- | 22.2 KB |
shrinker.c | -rw-r--r-- | 3.2 KB |
super.c | -rw-r--r-- | 43.6 KB |
trace.c | -rw-r--r-- | 3.4 KB |
trace.h | -rw-r--r-- | 1013 bytes |
xattr.c | -rw-r--r-- | 14.0 KB |
xattr.h | -rw-r--r-- | 4.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...