Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/driver/isdb2056_device.c b/driver/isdb2056_device.c
- index 95a5837..ad8a716 100644
- --- a/driver/isdb2056_device.c
- +++ b/driver/isdb2056_device.c
- @@ -514,11 +514,11 @@ static int isdb2056_chrdev_tune(struct ptx_chrdev *chrdev,
- break;
- }
- - ret = tc90522_write_reg(&chrdev2056->tc90522_s, 0x07, 0x77);
- + ret = tc90522_write_reg(&chrdev2056->tc90522_s0, 0x07, 0x77);
- if (ret)
- break;
- - ret = tc90522_write_reg(&chrdev2056->tc90522_s, 0x08, 0x10);
- + ret = tc90522_write_reg(&chrdev2056->tc90522_s0, 0x08, 0x37);
- if (ret)
- break;
- @@ -885,6 +885,11 @@ static int isdb2056_device_load_config(struct isdb2056_device *isdb2056,
- chrdev2056->tc90522_t.i2c_addr = 0x10;
- chrdev2056->tc90522_t.is_secondary = false;
- + chrdev2056->tc90522_s0.dev = dev;
- + chrdev2056->tc90522_s0.i2c = &it930x->i2c_master[2];
- + chrdev2056->tc90522_s0.i2c_addr = 0x11;
- + chrdev2056->tc90522_s0.is_secondary = false;
- +
- chrdev2056->tc90522_s.dev = dev;
- chrdev2056->tc90522_s.i2c = &it930x->i2c_master[2];
- chrdev2056->tc90522_s.i2c_addr = 0x13;
- diff --git a/driver/isdb2056_device.h b/driver/isdb2056_device.h
- index 23bf872..509de82 100644
- --- a/driver/isdb2056_device.h
- +++ b/driver/isdb2056_device.h
- @@ -26,6 +26,7 @@ struct isdb2056_chrdev {
- struct ptx_chrdev *chrdev;
- struct tc90522_demod tc90522_t;
- struct tc90522_demod tc90522_s;
- + struct tc90522_demod tc90522_s0;
- struct r850_tuner r850;
- struct rt710_tuner rt710;
- };
Advertisement
Add Comment
Please, Sign In to add comment