Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=690c544cf849e627d3f40a71633d0caf5c33eafe
Commit:     690c544cf849e627d3f40a71633d0caf5c33eafe
Parent:     1cba97d71dca1a3c22b4d7f97893249817036215
Author:     Mauro Carvalho Chehab <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 29 11:33:18 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:01:32 2008 -0200

    V4L/DVB (6472): Re-inserts xc2028 attach code, fixing its parameters
    
    I2C bus redesign changed i2c parameters. This patch re-adds tuner xc2028
    attach function, replacing the parameters to the newer syntax.
    
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/tuner-core.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 41ff4d2..11abd18 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -335,6 +335,18 @@ static void set_type(struct i2c_client *c, unsigned int 
type,
                i2c_master_send(c,buffer,4);
                attach_simple_tuner(t);
                break;
+       case TUNER_XC2028:
+       {
+               int rc=xc2028_attach(&t->fe, t->i2c->adapter, t->i2c->addr,
+                                    &c->dev, c->adapter->algo_data,
+                                    t->tuner_callback);
+               if (rc<0) {
+                       t->type = TUNER_ABSENT;
+                       t->mode_mask = T_UNINITIALIZED;
+                       return;
+               }
+               break;
+       }
        case TUNER_TDA9887:
                tda9887_attach(t);
                break;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to