diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-04-28 13:25:03 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-02 16:39:26 +0300 |
commit | 243d4c0270a184e91ae589138652e19394edb1e7 (patch) | |
tree | a2dfe53bf2e5ff7f04fb28a023245d4f7fd0c094 /drivers/media/dvb-frontends/tua6100.c | |
parent | 89a095668304e8a02502ffd35edacffdbf49aa8c (diff) | |
download | linux-243d4c0270a184e91ae589138652e19394edb1e7.tar.xz |
[media] media: exynos4-is: fix deadlock on driver probe
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>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/tua6100.c')
0 files changed, 0 insertions, 0 deletions