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 at pengutronix.de>
---
 drivers/gpu/ipu-v3/ipu-di.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/ipu-v3/ipu-di.c b/drivers/gpu/ipu-v3/ipu-di.c
index 92183ab19569..13cef8fa358f 100644
--- a/drivers/gpu/ipu-v3/ipu-di.c
+++ b/drivers/gpu/ipu-v3/ipu-di.c
@@ -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);
-- 
2.10.1

Reply via email to