From 310484888b607448e43ee170957fe62f218dd3cc Mon Sep 17 00:00:00 2001 From: Oliver McFadden Date: Tue, 24 Jan 2012 07:27:00 +0200 Subject: [PATCH] gfx: display: do not spam tc35876x_brightness_control notifications. These are very annoying and often get in the way when trying to read a backtrace. If you really need them, you may turn on PSB debugging. Signed-off-by: Oliver McFadden Acked-by: Jani Nikula Signed-off-by: Kirill A. Shutemov --- drivers/staging/mrst/drv/mdfld_dsi_output.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mrst/drv/mdfld_dsi_output.c b/drivers/staging/mrst/drv/mdfld_dsi_output.c index b36e463..f3bed42 100644 --- a/drivers/staging/mrst/drv/mdfld_dsi_output.c +++ b/drivers/staging/mrst/drv/mdfld_dsi_output.c @@ -218,8 +218,7 @@ static void tc35876x_brightness_control(struct drm_device *dev, int pipe, /* PWM duty cycle 0x00...0x63 corresponds to 0...99% */ duty_val = level * 0x63 / MDFLD_DSI_BRIGHTNESS_MAX_LEVEL; - printk(KERN_DEBUG "[DISPLAY] %s: level = %d, duty_val = %d\n", __func__, - level, duty_val); + PSB_DEBUG_ENTRY("level = %d, duty_val = %d\n", level, duty_val); ret = intel_scu_ipc_iowrite8(PWM0DUTYCYCLE, duty_val); if (ret) -- 2.7.4