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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...