From: Luis Alves <lja...@gmail.com>

Testing demod presence on probe fails if the demod was sleep mode.

Signed-off-by: Luis Alves <lja...@gmail.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
 drivers/media/dvb-frontends/si2168.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/media/dvb-frontends/si2168.c 
b/drivers/media/dvb-frontends/si2168.c
index 7659764..9925a12 100644
--- a/drivers/media/dvb-frontends/si2168.c
+++ b/drivers/media/dvb-frontends/si2168.c
@@ -602,7 +602,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__);
 
@@ -616,13 +615,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);
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to