Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6cff169 authored by Anton Blanchard's avatar Anton Blanchard Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0ac60acb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -963,7 +963,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) {