diff options
author | Anton Blanchard <anton@samba.org> | 2012-07-01 20:38:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-06 18:36:37 -0400 |
commit | c6cff169268bba9de687acf317ac24aa038cc263 (patch) | |
tree | 97da8d94d4bb40765893427e4b20ca58f8ddf25f /drivers/media/video/cx23885 | |
parent | 0ac60acb5491df565141c0e3a87d7148a865fe36 (diff) |
[media] cx23885: Silence unknown command warnings
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index bf79003bd8f6..080e11157e5f 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -963,7 +963,7 @@ int cx23885_tuner_callback(void *priv, int component, int command, int arg) | |||
963 | struct cx23885_dev *dev = port->dev; | 963 | struct cx23885_dev *dev = port->dev; |
964 | u32 bitmask = 0; | 964 | u32 bitmask = 0; |
965 | 965 | ||
966 | if (command == XC2028_RESET_CLK) | 966 | if ((command == XC2028_RESET_CLK) || (command == XC2028_I2C_FLUSH)) |
967 | return 0; | 967 | return 0; |
968 | 968 | ||
969 | if (command != 0) { | 969 | if (command != 0) { |