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 |
---|---|---|
oss | ||
seq | ||
Kconfig | -rw-r--r-- | 6.8 KB |
Makefile | -rw-r--r-- | 1.4 KB |
compress_offload.c | -rw-r--r-- | 28.7 KB |
control.c | -rw-r--r-- | 49.6 KB |
control_compat.c | -rw-r--r-- | 13.1 KB |
ctljack.c | -rw-r--r-- | 2.2 KB |
device.c | -rw-r--r-- | 6.3 KB |
hrtimer.c | -rw-r--r-- | 3.9 KB |
hwdep.c | -rw-r--r-- | 13.2 KB |
hwdep_compat.c | -rw-r--r-- | 2.3 KB |
info.c | -rw-r--r-- | 19.4 KB |
info_oss.c | -rw-r--r-- | 3.5 KB |
init.c | -rw-r--r-- | 25.9 KB |
isadma.c | -rw-r--r-- | 3.0 KB |
jack.c | -rw-r--r-- | 9.9 KB |
memalloc.c | -rw-r--r-- | 7.5 KB |
memory.c | -rw-r--r-- | 2.5 KB |
misc.c | -rw-r--r-- | 3.9 KB |
pcm.c | -rw-r--r-- | 34.4 KB |
pcm_compat.c | -rw-r--r-- | 21.7 KB |
pcm_dmaengine.c | -rw-r--r-- | 11.2 KB |
pcm_drm_eld.c | -rw-r--r-- | 2.4 KB |
pcm_iec958.c | -rw-r--r-- | 2.2 KB |
pcm_lib.c | -rw-r--r-- | 71.1 KB |
pcm_memory.c | -rw-r--r-- | 13.5 KB |
pcm_misc.c | -rw-r--r-- | 15.6 KB |
pcm_native.c | -rw-r--r-- | 100.9 KB |
pcm_timer.c | -rw-r--r-- | 3.7 KB |
pcm_trace.h | -rw-r--r-- | 3.7 KB |
rawmidi.c | -rw-r--r-- | 49.3 KB |
rawmidi_compat.c | -rw-r--r-- | 4.8 KB |
rtctimer.c | -rw-r--r-- | 4.1 KB |
sgbuf.c | -rw-r--r-- | 4.2 KB |
sound.c | -rw-r--r-- | 10.5 KB |
sound_oss.c | -rw-r--r-- | 7.1 KB |
timer.c | -rw-r--r-- | 52.5 KB |
timer_compat.c | -rw-r--r-- | 4.0 KB |
vmaster.c | -rw-r--r-- | 12.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...