From: Lucas Stach Date: Tue, 8 Nov 2016 15:57:55 +0000 (+0100) Subject: gpu: ipu-di: silence videomode logspam X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b5b457b33dcd2a6aa6f70a07f8a9b469727ffeec;p=linux-beck.git gpu: ipu-di: silence videomode logspam 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 Signed-off-by: Philipp Zabel --- diff --git a/drivers/gpu/ipu-v3/ipu-di.c b/drivers/gpu/ipu-v3/ipu-di.c index a8d87ddd8a17..d2f1bd9d3deb 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);