video: tegra: host: Disable irq on shutdown
Terje Bergstrom [Mon, 12 Mar 2012 05:49:47 +0000 (07:49 +0200)]
Disable interrupts when driver is being removed.

Bug 952600

Change-Id: I1d697c3c87aca935deadfe20b5e8fa8852b0e556
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/89405
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

drivers/video/tegra/host/dev.c

index b257586..4a9f4bd 100644 (file)
@@ -1065,6 +1065,7 @@ fail:
 static int __exit nvhost_remove(struct nvhost_device *dev)
 {
        struct nvhost_master *host = nvhost_get_drvdata(dev);
+       nvhost_intr_deinit(&host->intr);
        nvhost_remove_chip_support(host);
        return 0;
 }