2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/media/platform/s3c-camif
Marek Szyprowski 9b15dfe054 [media] media: s3c-camif: fix deadlock on driver probe()
Commit 0c426c472b ("[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>
2016-05-02 10:39:58 -03:00
..
camif-capture.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
camif-core.c [media] media: s3c-camif: fix deadlock on driver probe() 2016-05-02 10:39:58 -03:00
camif-core.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
camif-regs.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
camif-regs.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
Makefile