video: tegra: host: Disable host1x irqs at suspend
Terje Bergstrom [Mon, 13 Aug 2012 12:06:23 +0000 (15:06 +0300)]
host1x interrupts have been left on at suspend due to using wrong
constant for the interrupt register. Disable host1x interrupts at
suspend.

Change-Id: I915fc4e663e6ad90fccacff6fb223c5080e21fcd
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/123055
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

drivers/video/tegra/host/host1x/host1x_intr.c

index 62fd07c..2afbcbf 100644 (file)
@@ -140,7 +140,7 @@ static void t20_intr_disable_all_syncpt_intrs(struct nvhost_intr *intr)
        for (reg = 0; reg <= BIT_WORD(dev->info.nb_pts) * REGISTER_STRIDE;
                        reg += REGISTER_STRIDE) {
                /* disable interrupts for both cpu's */
-               writel(0, sync_regs +
+               writel(0xffffffffu, sync_regs +
                                host1x_sync_syncpt_thresh_int_disable_r() +
                                reg);