summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Love <brad@nextdimension.cc>2018-03-06 14:14:57 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-07 03:59:43 -0500
commitb94e47055bad45a005cc62b07a5fc79bf36e3e96 (patch)
tree31b6ad2bce367c3532cfa55b6f7aeaca598b2a20
parent6b234c98f7ccc5e7d46626980b582c666cfc6bf6 (diff)
media: cx231xx: Use frontend i2c adapter with tuner
Utilize the i2c mux adapter returned by the frontend. Signed-off-by: Brad Love <brad@nextdimension.cc> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-dvb.c b/drivers/media/usb/cx231xx/cx231xx-dvb.c
index 7c3863ad6f23..680c175be28d 100644
--- a/drivers/media/usb/cx231xx/cx231xx-dvb.c
+++ b/drivers/media/usb/cx231xx/cx231xx-dvb.c
@@ -1221,7 +1221,7 @@ static int dvb_init(struct cx231xx *dev)
info.platform_data = &si2157_config;
request_module("si2157");
- client = i2c_new_device(tuner_i2c, &info);
+ client = i2c_new_device(adapter, &info);
if (client == NULL || client->dev.driver == NULL) {
module_put(dvb->i2c_client_demod[0]->dev.driver->owner);
i2c_unregister_device(dvb->i2c_client_demod[0]);