diff options
author | Olivier Grenie <olivier.grenie@dibcom.fr> | 2009-12-07 06:09:04 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-15 21:18:17 -0500 |
commit | 9542f502cf5a51b34d1c04c25206a8d69d4b8d0f (patch) | |
tree | 867806ea041b7db64ad1f36ae6c34035801006a8 /drivers/media | |
parent | 9c78303681278b983fac3c6c3c0aa3f93cf2ffa8 (diff) |
V4L/DVB (13585): STK807xPVR: correct the enumeration
STK807xPVR: correct the enumeration
Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr>
Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_devices.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index d4673c71dff5..44972d01bbd0 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c | |||
@@ -1632,7 +1632,7 @@ static int stk807xpvr_frontend_attach0(struct dvb_usb_adapter *adap) | |||
1632 | dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1); | 1632 | dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1); |
1633 | 1633 | ||
1634 | /* initialize IC 0 */ | 1634 | /* initialize IC 0 */ |
1635 | dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x12, 0x80); | 1635 | dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x22, 0x80); |
1636 | 1636 | ||
1637 | adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x80, | 1637 | adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x80, |
1638 | &dib807x_dib8000_config[0]); | 1638 | &dib807x_dib8000_config[0]); |
@@ -1643,7 +1643,7 @@ static int stk807xpvr_frontend_attach0(struct dvb_usb_adapter *adap) | |||
1643 | static int stk807xpvr_frontend_attach1(struct dvb_usb_adapter *adap) | 1643 | static int stk807xpvr_frontend_attach1(struct dvb_usb_adapter *adap) |
1644 | { | 1644 | { |
1645 | /* initialize IC 1 */ | 1645 | /* initialize IC 1 */ |
1646 | dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x22, 0x82); | 1646 | dib8000_i2c_enumeration(&adap->dev->i2c_adap, 1, 0x12, 0x82); |
1647 | 1647 | ||
1648 | adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x82, | 1648 | adap->fe = dvb_attach(dib8000_attach, &adap->dev->i2c_adap, 0x82, |
1649 | &dib807x_dib8000_config[1]); | 1649 | &dib807x_dib8000_config[1]); |