Эх сурвалжийг харах

V4L/DVB (9262): cx88: Change spurious buffer message into a debug only message

A number of users have complained that their syslog often shows this
messages but it doesn't impact performance. I'm changing this to a debug
message, so developers will still see the message during testing and
users will no longer be bothered by this.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Steven Toth 16 жил өмнө
parent
commit
376a841440

+ 2 - 1
drivers/media/video/cx88/cx88-core.c

@@ -549,7 +549,8 @@ void cx88_wakeup(struct cx88_core *core,
 		mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT);
 		mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT);
 	}
 	}
 	if (bc != 1)
 	if (bc != 1)
-		printk("%s: %d buffers handled (should be 1)\n",__func__,bc);
+		dprintk(2, "%s: %d buffers handled (should be 1)\n",
+			__func__, bc);
 }
 }
 
 
 void cx88_shutdown(struct cx88_core *core)
 void cx88_shutdown(struct cx88_core *core)