summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb/cxusb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2018-01-24 12:01:57 +0100
committerMauro Carvalho Chehab2018-01-29 13:47:47 +0100
commit9893b905e743ded332575ca04486bd586c0772f7 (patch)
tree5639e28cb42a1498049f137ee946b6e37ab7e582 /drivers/media/usb/dvb-usb/cxusb.c
parentmedia: ts2020: avoid integer overflows on 32 bit machines (diff)
downloadkernel-qcow2-linux-9893b905e743ded332575ca04486bd586c0772f7.tar.gz
kernel-qcow2-linux-9893b905e743ded332575ca04486bd586c0772f7.tar.xz
kernel-qcow2-linux-9893b905e743ded332575ca04486bd586c0772f7.zip
media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
The XC2028_I2C_FLUSH only needs to be implemented on a few devices. Others can safely ignore it. That prevents filling the dmesg with lots of messages like: dib0700: stk7700ph_xc3028_callback: unknown command 2, arg 0 Cc: stable@vger.kernel.org Fixes: 4d37ece757a8 ("[media] tuner/xc2028: Add I2C flush callback") Reported-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb/cxusb.c')
-rw-r--r--drivers/media/usb/dvb-usb/cxusb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c
index 7109fc7ab74d..2abd15c6df81 100644
--- a/drivers/media/usb/dvb-usb/cxusb.c
+++ b/drivers/media/usb/dvb-usb/cxusb.c
@@ -679,6 +679,8 @@ static int dvico_bluebird_xc2028_callback(void *ptr, int component,
case XC2028_RESET_CLK:
deb_info("%s: XC2028_RESET_CLK %d\n", __func__, arg);
break;
+ case XC2028_I2C_FLUSH:
+ break;
default:
deb_info("%s: unknown command %d, arg %d\n", __func__,
command, arg);