]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 23 Apr 2014 10:35:36 +0000 (12:35 +0200)
commit336976b8597bd49648549f3728516c0457cf92a3
treef97bc1abe725960ec1e01e539b76276eda344176
parent7e8649f50e9bea27a66218bc5c43a98b4353af7a
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