* [PATCH] [media] cx23885: Silence unknown command warnings
@ 2012-07-02 1:38 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2012-07-02 1:38 UTC (permalink / raw)
To: mchehab, stoth; +Cc: linux-media
I am seeing a constant stream of warnings on my cx23885 based card:
cx23885_tuner_callback(): Unknown command 0x2.
Add a check in cx23885_tuner_callback to silence it.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c
index 13739e0..fa7e851 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -900,7 +900,7 @@ int cx23885_tuner_callback(void *priv, int component, int command, int arg)
struct cx23885_dev *dev = port->dev;
u32 bitmask = 0;
- if (command == XC2028_RESET_CLK)
+ if ((command == XC2028_RESET_CLK) || (command == XC2028_I2C_FLUSH))
return 0;
if (command != 0) {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-02 1:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 1:38 [PATCH] [media] cx23885: Silence unknown command warnings Anton Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox