diff options
| -rw-r--r-- | drivers/media/common/tuners/tda18271-common.c | 2 | ||||
| -rw-r--r-- | drivers/media/dvb/dvb-usb/af9015.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/tuners/tda18271-common.c b/drivers/media/common/tuners/tda18271-common.c index 195b30e3872d..5466d47db899 100644 --- a/drivers/media/common/tuners/tda18271-common.c +++ b/drivers/media/common/tuners/tda18271-common.c | |||
| @@ -237,7 +237,7 @@ int tda18271_write_regs(struct dvb_frontend *fe, int idx, int len) | |||
| 237 | 237 | ||
| 238 | if (ret != 1) | 238 | if (ret != 1) |
| 239 | tda_err("ERROR: idx = 0x%x, len = %d, " | 239 | tda_err("ERROR: idx = 0x%x, len = %d, " |
| 240 | "i2c_transfer returned: %d\n", idx, len, ret); | 240 | "i2c_transfer returned: %d\n", idx, max, ret); |
| 241 | 241 | ||
| 242 | return (ret == 1 ? 0 : ret); | 242 | return (ret == 1 ? 0 : ret); |
| 243 | } | 243 | } |
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c index 3ef19a83418c..31c0a0ed39f5 100644 --- a/drivers/media/dvb/dvb-usb/af9015.c +++ b/drivers/media/dvb/dvb-usb/af9015.c | |||
| @@ -1131,7 +1131,7 @@ static struct qt1010_config af9015_qt1010_config = { | |||
| 1131 | 1131 | ||
| 1132 | static struct tda18271_config af9015_tda18271_config = { | 1132 | static struct tda18271_config af9015_tda18271_config = { |
| 1133 | .gate = TDA18271_GATE_DIGITAL, | 1133 | .gate = TDA18271_GATE_DIGITAL, |
| 1134 | .small_i2c = 1, | 1134 | .small_i2c = TDA18271_16_BYTE_CHUNK_INIT, |
| 1135 | }; | 1135 | }; |
| 1136 | 1136 | ||
| 1137 | static struct mxl5005s_config af9015_mxl5003_config = { | 1137 | static struct mxl5005s_config af9015_mxl5003_config = { |
