From patchwork Sun Apr 26 15:31:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Kluin X-Patchwork-Id: 20018 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3QFWNgM029925 for ; Sun, 26 Apr 2009 15:32:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753171AbZDZPb3 (ORCPT ); Sun, 26 Apr 2009 11:31:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755501AbZDZPb3 (ORCPT ); Sun, 26 Apr 2009 11:31:29 -0400 Received: from mail-ew0-f176.google.com ([209.85.219.176]:59218 "EHLO mail-ew0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171AbZDZPb2 (ORCPT ); Sun, 26 Apr 2009 11:31:28 -0400 Received: by ewy24 with SMTP id 24so1751900ewy.37 for ; Sun, 26 Apr 2009 08:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=1SMA18c146ZyMAMJQyxSpQt4Bb16sza+J54rH8vPGGg=; b=DxH3hUKuwJ3KFmcmxfx5lVttmo5r7/J7tIErRV/LmS5myH8XlQy9sTRMapfHi9DtPN L7tYnx2h6tpBnIlcUR3zv7aAcFa7yzzq3YeMNv6ZgV/dj0ljEhv96rSPdvp1RHMxxSN4 xuHo+HkIx2j5pOPRWRrf8kNmxr09lH0Dsg/6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=ZtGhks9J4bv9AKDPMGqgGv9eXDuopkVLMbPpTULuUTZGdyXKK037viAOzzNbslQx4V /M1Ku7BsnvCCdL2V0Q+fcoIaMV4mosNJIW/I7U+DDPZdpPcXMD2lfmtTOmT57+6EaBe7 TRKPIlQHffkP1Dg4ZkJNOVgdeVclliAprLEaU= Received: by 10.210.81.10 with SMTP id e10mr4673527ebb.86.1240759886656; Sun, 26 Apr 2009 08:31:26 -0700 (PDT) Received: from ?192.168.1.115? (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id 5sm293288eyh.10.2009.04.26.08.31.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 26 Apr 2009 08:31:26 -0700 (PDT) Message-ID: <49F47E4E.4020804@gmail.com> Date: Sun, 26 Apr 2009 17:31:26 +0200 From: Roel Kluin User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: aospan@netup.ru, mchehab@redhat.com, Andrew Morton CC: linux-media@vger.kernel.org Subject: [PATCH] V4L/DVB: &/&& typo Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org binary/logical and typo Signed-off-by: Roel Kluin --- -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/video/cx23885/cimax2.c b/drivers/media/video/cx23885/cimax2.c index 9a65369..08582e5 100644 --- a/drivers/media/video/cx23885/cimax2.c +++ b/drivers/media/video/cx23885/cimax2.c @@ -312,7 +312,7 @@ static void netup_read_ci_status(struct work_struct *work) "TS config = %02x\n", __func__, state->ci_i2c_addr, 0, buf[0], buf[32]); - if (buf[0] && 1) + if (buf[0] & 1) state->status = DVB_CA_EN50221_POLL_CAM_PRESENT | DVB_CA_EN50221_POLL_CAM_READY; else