]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Fix lockup on a use of staging API
authorDmitry Osipenko <digetx@gmail.com>
Wed, 14 Jun 2017 23:18:24 +0000 (02:18 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Jun 2017 12:11:05 +0000 (14:11 +0200)
commit7d47c0556120fa287b37d873927ab67e80a14fcc
tree57426e42663360b403d489125a346d2936a35134
parenta8340ac0624bc620ac7c88e078af5787105aabb5
drm/tegra: Fix lockup on a use of staging API

Commit 66ed2d4e72eb ("Don't leak kernel pointer to userspace") added a
mutex around staging IOCTL's, some of those mutexes are taken twice.

Fixes: 66ed2d4e72eb ("drm/tegra: Don't leak kernel pointer to userspace")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: http://patchwork.freedesktop.org/patch/msgid/7b70a506a9d2355ea6ff19a8c4f4d726b67719b3.1497480754.git.digetx@gmail.com
drivers/gpu/drm/tegra/drm.c