drm/tegra: dpaux: Disable interrupt when detached
authorThierry Reding <treding@nvidia.com>
Fri, 3 Jul 2015 12:56:46 +0000 (14:56 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:47:49 +0000 (13:47 +0200)
commit9e532b3ad9a7fc5f00d29c766439ffbdcc403146
treefd6ea2378378a77902d4f795bb339ab6d1880cc5
parent3227166c3bd64dc3a44b7a1bf79efff34ec27aa3
drm/tegra: dpaux: Disable interrupt when detached

When the DPAUX isn't attached to an SOR the interrupts are not useful.
This also prevents a race that could potentially cause a crash on driver
removal.

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