diff mbox

[3/5] lgdt3306a v3.6 i2c mux backport

Message ID 1524067927-12113-4-git-send-email-brad@nextdimension.cc (mailing list archive)
State New, archived
Headers show

Commit Message

Brad Love April 18, 2018, 4:12 p.m. UTC
Another trivial patch

Signed-off-by: Brad Love <brad@nextdimension.cc>
---
 backports/v3.6_i2c_add_mux_adapter.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox

Patch

diff --git a/backports/v3.6_i2c_add_mux_adapter.patch b/backports/v3.6_i2c_add_mux_adapter.patch
index 8172316..d26b82b 100644
--- a/backports/v3.6_i2c_add_mux_adapter.patch
+++ b/backports/v3.6_i2c_add_mux_adapter.patch
@@ -62,3 +62,15 @@  index a29c345..725c13a 100644
  				&cx231xx_i2c_mux_select,
  				NULL);
  
+diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c
+--- a/drivers/media/dvb-frontends/lgdt3306a.c	2018-01-23 22:13:14.095893561 +0000
++++ b/drivers/media/dvb-frontends/lgdt3306a.c	2018-01-23 22:13:52.796701755 +0000
+@@ -2301,7 +2301,7 @@ static int lgdt3306a_probe(struct i2c_cl
+ 
+ 	/* create mux i2c adapter for tuner */
+ 	state->i2c_adap = i2c_add_mux_adapter(client->adapter, &client->dev,
+-			client, 0, 0, 0, lgdt3306a_select, lgdt3306a_deselect);
++			client, 0, 0, lgdt3306a_select, lgdt3306a_deselect);
+ 	if (state->i2c_adap == NULL) {
+ 		ret = -ENODEV;
+ 		goto err_kfree;