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-- | 1.1 KB |
Makefile | -rw-r--r-- | 248 bytes |
alloc.c | -rw-r--r-- | 25.1 KB |
alloc.h | -rw-r--r-- | 3.9 KB |
bmap.c | -rw-r--r-- | 15.1 KB |
bmap.h | -rw-r--r-- | 8.4 KB |
btnode.c | -rw-r--r-- | 7.7 KB |
btnode.h | -rw-r--r-- | 2.0 KB |
btree.c | -rw-r--r-- | 62.6 KB |
btree.h | -rw-r--r-- | 2.7 KB |
cpfile.c | -rw-r--r-- | 26.1 KB |
cpfile.h | -rw-r--r-- | 1.7 KB |
dat.c | -rw-r--r-- | 13.4 KB |
dat.h | -rw-r--r-- | 2.3 KB |
dir.c | -rw-r--r-- | 17.1 KB |
direct.c | -rw-r--r-- | 9.3 KB |
direct.h | -rw-r--r-- | 1.5 KB |
export.h | -rw-r--r-- | 482 bytes |
file.c | -rw-r--r-- | 4.3 KB |
gcinode.c | -rw-r--r-- | 5.6 KB |
ifile.c | -rw-r--r-- | 5.9 KB |
ifile.h | -rw-r--r-- | 1.9 KB |
inode.c | -rw-r--r-- | 29.6 KB |
ioctl.c | -rw-r--r-- | 36.4 KB |
mdt.c | -rw-r--r-- | 16.1 KB |
mdt.h | -rw-r--r-- | 4.2 KB |
namei.c | -rw-r--r-- | 13.1 KB |
nilfs.h | -rw-r--r-- | 12.2 KB |
page.c | -rw-r--r-- | 14.6 KB |
page.h | -rw-r--r-- | 2.6 KB |
recovery.c | -rw-r--r-- | 24.5 KB |
segbuf.c | -rw-r--r-- | 13.4 KB |
segbuf.h | -rw-r--r-- | 6.2 KB |
segment.c | -rw-r--r-- | 74.6 KB |
segment.h | -rw-r--r-- | 8.4 KB |
sufile.c | -rw-r--r-- | 32.3 KB |
sufile.h | -rw-r--r-- | 4.9 KB |
super.c | -rw-r--r-- | 35.9 KB |
sysfs.c | -rw-r--r-- | 31.6 KB |
sysfs.h | -rw-r--r-- | 5.7 KB |
the_nilfs.c | -rw-r--r-- | 21.2 KB |
the_nilfs.h | -rw-r--r-- | 12.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...