]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor - Protect CRC debugfs against enable state
authorThierry Reding <treding@nvidia.com>
Wed, 26 Mar 2014 10:13:16 +0000 (11:13 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:09:35 +0000 (23:09 +0200)
commit1b6e50d4c0818ffe236e97a4f035c9486584db60
tree2991d9118ccc51493ef5bdb32499893ed8b7ad91
parent31a702c21d6d8e739d8afe08335d87e35ce14d8a
drm/tegra: sor - Protect CRC debugfs against enable state

Accessing the CRC debugfs file will hang the system if the SOR is not
enabled, so make sure that it is stays enabled until the CRC has been
read.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c