media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 24 Jan 2018 11:01:57 +0000 (06:01 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 31 May 2018 23:30:11 +0000 (00:30 +0100)
commitc86fd4aa55bf7729931aa4aeafb5383e049bedd1
tree69ce56649fd21a8336029a5464df0c33fce8935d
parent3ab6569af58314342d8630502cd783b2d0135914
media: cxusb, dib0700: ignore XC2028_I2C_FLUSH

commit 9893b905e743ded332575ca04486bd586c0772f7 upstream.

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

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>
[bwh: Backported to 3.2: adjust filenames]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/media/dvb/dvb-usb/cxusb.c
drivers/media/dvb/dvb-usb/dib0700_devices.c