Commit b94e4705 authored by Brad Love's avatar Brad Love Committed by Mauro Carvalho Chehab

media: cx231xx: Use frontend i2c adapter with tuner

Utilize the i2c mux adapter returned by the frontend.
Signed-off-by: default avatarBrad Love <brad@nextdimension.cc>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 6b234c98
...@@ -1221,7 +1221,7 @@ static int dvb_init(struct cx231xx *dev) ...@@ -1221,7 +1221,7 @@ static int dvb_init(struct cx231xx *dev)
info.platform_data = &si2157_config; info.platform_data = &si2157_config;
request_module("si2157"); request_module("si2157");
client = i2c_new_device(tuner_i2c, &info); client = i2c_new_device(adapter, &info);
if (client == NULL || client->dev.driver == NULL) { if (client == NULL || client->dev.driver == NULL) {
module_put(dvb->i2c_client_demod[0]->dev.driver->owner); module_put(dvb->i2c_client_demod[0]->dev.driver->owner);
i2c_unregister_device(dvb->i2c_client_demod[0]); i2c_unregister_device(dvb->i2c_client_demod[0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment