mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
media: cxusb, dib0700: ignore XC2028_I2C_FLUSH
commit9893b905e7upstream. 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:4d37ece757("[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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6b3bfe719b
commit
6f8e7a83de
|
|
@ -818,6 +818,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);
|
||||
|
|
|
|||
|
|
@ -431,6 +431,7 @@ static int stk7700ph_xc3028_callback(void *ptr, int component,
|
|||
state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1);
|
||||
break;
|
||||
case XC2028_RESET_CLK:
|
||||
case XC2028_I2C_FLUSH:
|
||||
break;
|
||||
default:
|
||||
err("%s: unknown command %d, arg %d\n", __func__,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user