gpu: ipu-di: silence videomode logspam
authorLucas Stach <l.stach@pengutronix.de>
Tue, 8 Nov 2016 15:57:55 +0000 (16:57 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 9 Nov 2016 09:41:14 +0000 (10:41 +0100)
Adapting the videomode to the hardware constraints is something that
can and must happen during normal operation and isn't something that
the user can avoid. So printing a warning each time it happens isn't
helpful.

Demote this message to the debug level.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-di.c

index a8d87ddd8a1769e3a9b348f2f45b1272f99702df..d2f1bd9d3deb52fe78e19e13bda367400a9463c4 100644 (file)
@@ -535,7 +535,7 @@ int ipu_di_adjust_videomode(struct ipu_di *di, struct videomode *mode)
                return -EINVAL;
        }
 
-       dev_warn(di->ipu->dev, "videomode adapted for IPU restrictions\n");
+       dev_dbg(di->ipu->dev, "videomode adapted for IPU restrictions\n");
        return 0;
 }
 EXPORT_SYMBOL_GPL(ipu_di_adjust_videomode);