From patchwork Fri Oct 31 13:21:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiro TSUKADA X-Patchwork-Id: 5204401 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 6652DC11AC for ; Fri, 31 Oct 2014 13:22:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5DA02010B for ; Fri, 31 Oct 2014 13:22:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A0A412012B for ; Fri, 31 Oct 2014 13:22:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758819AbaJaNWH (ORCPT ); Fri, 31 Oct 2014 09:22:07 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:63517 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758789AbaJaNWE (ORCPT ); Fri, 31 Oct 2014 09:22:04 -0400 Received: by mail-pd0-f174.google.com with SMTP id p10so7214354pdj.5 for ; Fri, 31 Oct 2014 06:22:03 -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=lGFh1eyRCL/t/qS4gREkLfAjn6gbwau4PAUVnPKlmdk=; b=UzZcjb9KE7Q4eKmxGXodAU6YX2dUh5tVEDsXhJDEH9YuHNfS5xPM+8dlTdIwCmkee1 0c5SSY8G2BJs497U3e46q8mG3kQr1F5GB9iyEcX1Ivy5ZIa2LIFP7wG6x9iw6VnTCm95 JpvjrxW91MfzODQGR9Zfd+0wJ9dtQiibAW4KYlCHvxwv5ZvSiIZLh4ZgC3GsWVsWdZ9I dIIeHX0o1baekIPlpF1W8557GS6yjpyOjpBhzFrb27bSYXzrksFebb4I95hcO2z1udGf ICU455zczPVCufddi2EVvtUBcQyxYPDidueact9KrgrCYmZySBtmh+Syu2sLRPdEbb9H YHlg== X-Received: by 10.66.237.145 with SMTP id vc17mr24885240pac.34.1414761723220; Fri, 31 Oct 2014 06:22:03 -0700 (PDT) Received: from seabird.localdomain.localdomain (softbank219203027033.bbtec.net. [219.203.27.33]) by mx.google.com with ESMTPSA id l9sm4434202pbq.26.2014.10.31.06.22.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 Oct 2014 06:22:02 -0700 (PDT) From: tskd08@gmail.com To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, Akihiro Tsukada Subject: [PATCH v2] dvb:tc90522: fix always-false expression Date: Fri, 31 Oct 2014 22:21:50 +0900 Message-Id: <1414761710-1409-1-git-send-email-tskd08@gmail.com> X-Mailer: git-send-email 2.1.3 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 Signed-off-by: Akihiro Tsukada --- 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;