aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2016-04-28 10:25:04 +0000
committerMauro Carvalho Chehab <[email protected]>2016-05-02 13:39:58 +0000
commit9b15dfe0542fd6f7455c6aeca1cf711192343bf9 (patch)
treee4ec03145dd7b6ffd44b8e1a2527b34022ddb670 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent[media] media: exynos4-is: fix deadlock on driver probe (diff)
downloadkernel-9b15dfe0542fd6f7455c6aeca1cf711192343bf9.tar.gz
kernel-9b15dfe0542fd6f7455c6aeca1cf711192343bf9.zip
[media] media: s3c-camif: 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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions