From patchwork Sun Oct 26 12:05:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiro TSUKADA X-Patchwork-Id: 5153901 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 8A6C6C11AC for ; Sun, 26 Oct 2014 12:05:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD0E820340 for ; Sun, 26 Oct 2014 12:05:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8FE5720303 for ; Sun, 26 Oct 2014 12:05:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751627AbaJZMFk (ORCPT ); Sun, 26 Oct 2014 08:05:40 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:64349 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751488AbaJZMFk (ORCPT ); Sun, 26 Oct 2014 08:05:40 -0400 Received: by mail-pa0-f42.google.com with SMTP id bj1so162577pad.15 for ; Sun, 26 Oct 2014 05:05:39 -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=61bWpC76OCbqPyjoNNng8bdvepIv6lgKtkrzQw3PM7M=; b=lIN6+TD1r0GWqiVOlgJixkDouzP0TgLaNBvDNUwTRqsEL/BORUukHqv7qnwCpma9Lb aVfwRxLIpPkkHcj9CIsURvBLxDwjVamQtNCyis9cBAT0RLQPKIe+wrsjYr2EkGUcakhu wpArU8qLzLPu58sMskjOg0TTY//zJGvyryyYVzckTZyYNZx2FnDzU7Sh9BtMLbYJO2Ml IxPrpgF96KKM213B4oExJvPMKx0udx2oio/vPNrJr7Pna6DLn4/OWG0Tj8HZf6lT3qBm 250pqOb0llL5sJAFNQCF+xYkGf+G07mLkC0n9TZ4oSGFw6QaHaUWK4p5A8jsnMTKsteR uUuw== X-Received: by 10.68.69.76 with SMTP id c12mr16885078pbu.59.1414325139614; Sun, 26 Oct 2014 05:05:39 -0700 (PDT) Received: from seabird.localdomain.localdomain (softbank219203027033.bbtec.net. [219.203.27.33]) by mx.google.com with ESMTPSA id ra4sm8299410pab.33.2014.10.26.05.05.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 26 Oct 2014 05:05:38 -0700 (PDT) From: tskd08@gmail.com To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, Akihiro Tsukada Subject: [PATCH] dvb:tc90522: bugfix of always-false expression Date: Sun, 26 Oct 2014 21:05:29 +0900 Message-Id: <1414325129-16570-1-git-send-email-tskd08@gmail.com> X-Mailer: git-send-email 2.1.2 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 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=unavailable 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 From: Akihiro Tsukada Reported by David Binderman --- drivers/media/dvb-frontends/tc90522.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/tc90522.c b/drivers/media/dvb-frontends/tc90522.c index d9905fb..bca81ef 100644 --- a/drivers/media/dvb-frontends/tc90522.c +++ b/drivers/media/dvb-frontends/tc90522.c @@ -363,7 +363,7 @@ static int tc90522t_get_frontend(struct dvb_frontend *fe) u8 v; c->isdbt_partial_reception = val[0] & 0x01; - c->isdbt_sb_mode = (val[0] & 0xc0) == 0x01; + c->isdbt_sb_mode = (val[0] & 0xc0) == 0x40; /* layer A */ v = (val[2] & 0x78) >> 3;