diff options
author | Luis Alves <ljalvs@gmail.com> | 2014-07-17 17:56:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 21:24:46 -0300 |
commit | 2da2e18513b4f2de00c5f6ff4925bb011d6a8127 (patch) | |
tree | 70fda9691f2f917f392ffd9590475514fcba7bbc /drivers/media/dvb-frontends | |
parent | 4d6efc7a96c126f2b21ffd4edad9b11144a0336a (diff) | |
download | op-kernel-dev-2da2e18513b4f2de00c5f6ff4925bb011d6a8127.zip op-kernel-dev-2da2e18513b4f2de00c5f6ff4925bb011d6a8127.tar.gz |
[media] si2168: Remove testing for demod presence on probe
Testing demod presence on probe fails if the demod was sleep mode.
Signed-off-by: Luis Alves <ljalvs@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/si2168.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 3e3fd2a..84db613 100644 --- a/drivers/media/dvb-frontends/si2168.c +++ b/drivers/media/dvb-frontends/si2168.c @@ -616,7 +616,6 @@ static int si2168_probe(struct i2c_client *client, struct si2168_config *config = client->dev.platform_data; struct si2168 *s; int ret; - struct si2168_cmd cmd; dev_dbg(&client->dev, "%s:\n", __func__); @@ -630,13 +629,6 @@ static int si2168_probe(struct i2c_client *client, s->client = client; mutex_init(&s->i2c_mutex); - /* check if the demod is there */ - cmd.wlen = 0; - cmd.rlen = 1; - ret = si2168_cmd_execute(s, &cmd); - if (ret) - goto err; - /* create mux i2c adapter for tuner */ s->adapter = i2c_add_mux_adapter(client->adapter, &client->dev, s, 0, 0, 0, si2168_select, si2168_deselect); |