]> 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)
commit27301fc714a3f7a9b205aa315bb84055b68f04a5
tree2991d9118ccc51493ef5bdb32499893ed8b7ad91
parent2b35634f551bdc69f52f923c3192c54e87e01749
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