summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/cxd2820r_c.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-07-20 02:10:36 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-27 19:33:58 +0200
commit1e8f31f31726148c27de1ff4692c76c9bcff9860 (patch)
treeb593d16c49ae28aec06f8e3d42ca8b70d08a7ea6 /drivers/media/dvb-frontends/cxd2820r_c.c
parent[media] cxd2820r: switch to Kernel dev_* logging (diff)
downloadlinux-1e8f31f31726148c27de1ff4692c76c9bcff9860.tar.xz
linux-1e8f31f31726148c27de1ff4692c76c9bcff9860.zip
[media] cxd2820r: use Kernel GPIO for GPIO access
Currently there is LNA behind cxd2820r demodulator GPIO. Use Kernel GPIO interface to access those GPIOs. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r_c.c')
-rw-r--r--drivers/media/dvb-frontends/cxd2820r_c.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_c.c b/drivers/media/dvb-frontends/cxd2820r_c.c
index d2a0c285840d..125a44041011 100644
--- a/drivers/media/dvb-frontends/cxd2820r_c.c
+++ b/drivers/media/dvb-frontends/cxd2820r_c.c
@@ -50,11 +50,6 @@ int cxd2820r_set_frontend_c(struct dvb_frontend *fe)
dev_dbg(&priv->i2c->dev, "%s: frequency=%d symbol_rate=%d\n", __func__,
c->frequency, c->symbol_rate);
- /* update GPIOs */
- ret = cxd2820r_gpio(fe);
- if (ret)
- goto error;
-
/* program tuner */
if (fe->ops.tuner_ops.set_params)
fe->ops.tuner_ops.set_params(fe);