]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: fbtft: Make framebuffer registration message debug-only
authorChintan Patel <chintanlike@gmail.com>
Thu, 22 Jan 2026 03:16:35 +0000 (19:16 -0800)
committerHelge Deller <deller@gmx.de>
Sat, 14 Feb 2026 10:09:47 +0000 (11:09 +0100)
The framebuffer registration message is informational only and not
useful during normal operation. Convert it to debug-level logging to
keep the driver quiet when working correctly.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Chintan Patel <chintanlike@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/staging/fbtft/fbtft-core.c

index 1b3b62950205b5e354c01b9f495eb4ae6b63aa1c..f427c0914907ef89b8036ace7ba76e0e92196e2e 100644 (file)
@@ -792,11 +792,11 @@ int fbtft_register_framebuffer(struct fb_info *fb_info)
        if (spi)
                sprintf(text2, ", spi%d.%d at %d MHz", spi->controller->bus_num,
                        spi_get_chipselect(spi, 0), spi->max_speed_hz / 1000000);
-       fb_info(fb_info,
-               "%s frame buffer, %dx%d, %d KiB video memory%s, fps=%lu%s\n",
-               fb_info->fix.id, fb_info->var.xres, fb_info->var.yres,
-               fb_info->fix.smem_len >> 10, text1,
-               HZ / fb_info->fbdefio->delay, text2);
+       fb_dbg(fb_info,
+              "%s frame buffer, %dx%d, %d KiB video memory%s, fps=%lu%s\n",
+              fb_info->fix.id, fb_info->var.xres, fb_info->var.yres,
+              fb_info->fix.smem_len >> 10, text1,
+              HZ / fb_info->fbdefio->delay, text2);
 
        /* Turn on backlight if available */
        if (fb_info->bl_dev) {