diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2011-08-04 04:14:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-08-31 17:17:06 -0300 |
commit | 9dac920708abb2981d02e6922fd797ef388db5ce (patch) | |
tree | 074f621b565246c99f3f3cf8e6be76e584d0b3ac /drivers/staging/tm6000/tm6000-cards.c | |
parent | 3fd02b4456179544d93d7b64c3362d47d6050ec7 (diff) |
[media] tm6000: Implement I2C flush callback
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-cards.c')
-rw-r--r-- | drivers/staging/tm6000/tm6000-cards.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c index 7dbc500bc112..bac4309a3868 100644 --- a/drivers/staging/tm6000/tm6000-cards.c +++ b/drivers/staging/tm6000/tm6000-cards.c @@ -780,6 +780,11 @@ int tm6000_tuner_callback(void *ptr, int component, int command, int arg) rc = tm6000_i2c_reset(dev, 100); break; } + break; + case XC2028_I2C_FLUSH: + tm6000_set_reg(dev, REQ_50_SET_START, 0, 0); + tm6000_set_reg(dev, REQ_51_SET_STOP, 0, 0); + break; } return rc; } |