]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: dc: change WARN to a debug message
authorJon Mayo <jmayo@nvidia.com>
Fri, 15 Nov 2013 03:20:58 +0000 (19:20 -0800)
committerJon Mayo <jmayo@nvidia.com>
Sat, 16 Nov 2013 00:24:21 +0000 (16:24 -0800)
It is now possible for DC driver to process an IRQ even though DC has
already been disabled. This logs a debug message instead of printing
a stack trace.

Bug 1404803

Change-Id: I94badc2f38f63c28abd64c5260f5c23cb7ff3655
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/332020

drivers/video/tegra/dc/dc.c

index a9c541cb509f5c43f1894d4d27d3849d353f04f6..1d4e45c14d9f15f51bed93b3184ce7910b4fdf16 100644 (file)
@@ -1889,7 +1889,7 @@ static irqreturn_t tegra_dc_irq(int irq, void *ptr)
        tegra_dc_get(dc);
 
        if (!dc->enabled || !nvhost_module_powered_ext(dc->ndev)) {
-               WARN(1, "IRQ when DC not powered!\n");
+               dev_dbg(&dc->ndev->dev, "IRQ when DC not powered!\n");
                status = tegra_dc_readl(dc, DC_CMD_INT_STATUS);
                tegra_dc_writel(dc, status, DC_CMD_INT_STATUS);
                tegra_dc_put(dc);