summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authornibble.max <nibble.max@gmail.com>2014-11-08 05:34:30 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-11 12:55:32 -0200
commitdd0a6fe2bc3055cd61e369f97982c88183b1f0a0 (patch)
treec222587d46c025ff75af60f2a5e6c060117ee94c /drivers/media/usb
parentb6851419409664bc564ce5148bbec1141944c710 (diff)
downloadblackbird-op-linux-dd0a6fe2bc3055cd61e369f97982c88183b1f0a0.tar.gz
blackbird-op-linux-dd0a6fe2bc3055cd61e369f97982c88183b1f0a0.zip
[media] dvb-usb-dvbsky: fix i2c adapter for sp2 device
It is wrong that sp2 device uses the i2c adapter from m88ds3103 return. sp2 device sits on the same i2c bus with m88ds3103, not behind m88ds3103. Signed-off-by: Nibble Max <nibble.max@gmail.com> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r--drivers/media/usb/dvb-usb-v2/dvbsky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c
index c67a118ef219..8be8447fb2be 100644
--- a/drivers/media/usb/dvb-usb-v2/dvbsky.c
+++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c
@@ -479,7 +479,7 @@ static int dvbsky_s960c_attach(struct dvb_usb_adapter *adap)
info.addr = 0x40;
info.platform_data = &sp2_config;
request_module("sp2");
- client_ci = i2c_new_device(i2c_adapter, &info);
+ client_ci = i2c_new_device(&d->i2c_adap, &info);
if (client_ci == NULL || client_ci->dev.driver == NULL) {
ret = -ENODEV;
goto fail_ci_device;
OpenPOWER on IntegriCloud