From patchwork Thu Jul 17 20:56:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Alves X-Patchwork-Id: 4578891 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9345BC0514 for ; Thu, 17 Jul 2014 20:56:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0C23201BA for ; Thu, 17 Jul 2014 20:56:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1476120160 for ; Thu, 17 Jul 2014 20:56:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755091AbaGQU4v (ORCPT ); Thu, 17 Jul 2014 16:56:51 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:58346 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754882AbaGQU4u (ORCPT ); Thu, 17 Jul 2014 16:56:50 -0400 Received: by mail-we0-f172.google.com with SMTP id x48so3606603wes.17 for ; Thu, 17 Jul 2014 13:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=91jNh4KkrRUf+pyHmCEH5wFw1ygUOOTBUBGTJQqCWwU=; b=seCWpfz6aOaka4rhybcEFX8Muk8iwjFi8g/aHksHDXLwAexJGnEro+oc+PsLeo5Bsm PmTRA2+RW+z7JVXjn6LVSlkWPGbHmF9eF+m3IOtILt4sfGebSey9KA2WdVfGCW8Lsnri 36GGcZRYEn0DG60TtSiLjf4VEZXEnNmlB81fW5rxtBSzWI+kpLRKj1oa8R69BNVbMemm P2Iy590a3WIk/IarCsB3LTSz20m9wujUviUUnasUdCa6eDUqJVqCgghTJzzCRE1a32kR xaK9cH4luv8L5xPBwqPGrpRZtmy7gAoAWVEd1XIoRL2wbR+ocyLzfsxb5p5bxlY5WHsF H/mw== X-Received: by 10.180.210.167 with SMTP id mv7mr19462016wic.72.1405630609572; Thu, 17 Jul 2014 13:56:49 -0700 (PDT) Received: from localhost.localdomain (a89-152-208-230.cpe.netcabo.pt. [89.152.208.230]) by mx.google.com with ESMTPSA id lk7sm8778742wjb.24.2014.07.17.13.56.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Jul 2014 13:56:48 -0700 (PDT) From: Luis Alves To: linux-media@vger.kernel.org Cc: crope@iki.fi, Luis Alves Subject: [PATCH 1/1] si2168: Remove testing for demod presence on probe. If the demod is in sleep mode it will fail. Date: Thu, 17 Jul 2014 21:56:44 +0100 Message-Id: <1405630604-19534-1-git-send-email-ljalvs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Luis Alves --- 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 3fed522..7e45eeab 100644 --- a/drivers/media/dvb-frontends/si2168.c +++ b/drivers/media/dvb-frontends/si2168.c @@ -595,7 +595,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__); @@ -609,13 +608,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);