diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:09:40 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:09:40 -0500 |
| commit | ba4b60e85d6c5fc2242fd24e131a47fb922e5d89 (patch) | |
| tree | 6be918ce3924d0677bc1029f7d1255fef48a8f85 /drivers/media/dvb-frontends | |
| parent | 5dba4c56dfa660a85dc8e897990948cdec3734bf (diff) | |
| parent | 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff) | |
Merge 3.14-rc3 into char-misc-next
We need the fixes here for future mei and other patches.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/dvb-frontends')
| -rw-r--r-- | drivers/media/dvb-frontends/cx24117.c | 10 | ||||
| -rw-r--r-- | drivers/media/dvb-frontends/nxt200x.c | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/drivers/media/dvb-frontends/cx24117.c b/drivers/media/dvb-frontends/cx24117.c index 68f768a5422d..a6c3c9e2e897 100644 --- a/drivers/media/dvb-frontends/cx24117.c +++ b/drivers/media/dvb-frontends/cx24117.c | |||
| @@ -1176,7 +1176,7 @@ struct dvb_frontend *cx24117_attach(const struct cx24117_config *config, | |||
| 1176 | 1176 | ||
| 1177 | switch (demod) { | 1177 | switch (demod) { |
| 1178 | case 0: | 1178 | case 0: |
| 1179 | dev_err(&state->priv->i2c->dev, | 1179 | dev_err(&i2c->dev, |
| 1180 | "%s: Error attaching frontend %d\n", | 1180 | "%s: Error attaching frontend %d\n", |
| 1181 | KBUILD_MODNAME, demod); | 1181 | KBUILD_MODNAME, demod); |
| 1182 | goto error1; | 1182 | goto error1; |
| @@ -1200,12 +1200,6 @@ struct dvb_frontend *cx24117_attach(const struct cx24117_config *config, | |||
| 1200 | state->demod = demod - 1; | 1200 | state->demod = demod - 1; |
| 1201 | state->priv = priv; | 1201 | state->priv = priv; |
| 1202 | 1202 | ||
| 1203 | /* test i2c bus for ack */ | ||
| 1204 | if (demod == 0) { | ||
| 1205 | if (cx24117_readreg(state, 0x00) < 0) | ||
| 1206 | goto error3; | ||
| 1207 | } | ||
| 1208 | |||
| 1209 | dev_info(&state->priv->i2c->dev, | 1203 | dev_info(&state->priv->i2c->dev, |
| 1210 | "%s: Attaching frontend %d\n", | 1204 | "%s: Attaching frontend %d\n", |
| 1211 | KBUILD_MODNAME, state->demod); | 1205 | KBUILD_MODNAME, state->demod); |
| @@ -1216,8 +1210,6 @@ struct dvb_frontend *cx24117_attach(const struct cx24117_config *config, | |||
| 1216 | state->frontend.demodulator_priv = state; | 1210 | state->frontend.demodulator_priv = state; |
| 1217 | return &state->frontend; | 1211 | return &state->frontend; |
| 1218 | 1212 | ||
| 1219 | error3: | ||
| 1220 | kfree(state); | ||
| 1221 | error2: | 1213 | error2: |
| 1222 | cx24117_release_priv(priv); | 1214 | cx24117_release_priv(priv); |
| 1223 | error1: | 1215 | error1: |
diff --git a/drivers/media/dvb-frontends/nxt200x.c b/drivers/media/dvb-frontends/nxt200x.c index 4bf057544607..8a8e1ecb762d 100644 --- a/drivers/media/dvb-frontends/nxt200x.c +++ b/drivers/media/dvb-frontends/nxt200x.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | * Support for NXT2002 and NXT2004 - VSB/QAM | 2 | * Support for NXT2002 and NXT2004 - VSB/QAM |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2005 Kirk Lapray <kirk.lapray@gmail.com> | 4 | * Copyright (C) 2005 Kirk Lapray <kirk.lapray@gmail.com> |
| 5 | * Copyright (C) 2006 Michael Krufky <mkrufky@m1k.net> | 5 | * Copyright (C) 2006-2014 Michael Krufky <mkrufky@linuxtv.org> |
| 6 | * based on nxt2002 by Taylor Jacob <rtjacob@earthlink.net> | 6 | * based on nxt2002 by Taylor Jacob <rtjacob@earthlink.net> |
| 7 | * and nxt2004 by Jean-Francois Thibert <jeanfrancois@sagetv.com> | 7 | * and nxt2004 by Jean-Francois Thibert <jeanfrancois@sagetv.com> |
| 8 | * | 8 | * |
