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)
commit86f5c52dc9c8ecb8efab894b733fbfd8657ba015
tree2991d9118ccc51493ef5bdb32499893ed8b7ad91
parent76245adbc149170999340a61d171e29b86b02218
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