Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7434759ybp; Wed, 16 Oct 2019 08:36:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqza6bmJwZZAaqTTl1IBv5aqKqQ5IY/SLM6vGs6GZj6ONTdSx5pctsyrD48k1Tgua4rW/Hc0 X-Received: by 2002:a17:907:2118:: with SMTP id qn24mr39967889ejb.141.1571240160541; Wed, 16 Oct 2019 08:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571240160; cv=none; d=google.com; s=arc-20160816; b=S37SokDMWwsrIrC8g9TbuEy/BTS1yy+2qX0tnyqpJSvA0IDxqTCfrXPGji08L3Ursb +jiG0sF6I1F4jJDbbhwAY4VHHA8JvbqRpoFrW2T3XXH3fEwFZRul4hksyhYVGfOa9NzR qEkr5bLYQ5rGR4/Pa7yH2HjawDceN+9jLZRKAvvTmjonH3yN6U9x0U5rFKHyE0cX/02T aTFuMZZX7gydF6LtdM9XoYYQ7NVqtej/h1KEMd8g5lUS6o/SGH0JhgJYek26zP+74uU1 PqNMn4hInSWIMYwV3GZauADvEzcIzt+BCUGMQqdATb8F6ZFMEvl3OBlUGKM1LRSYpj87 YY2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9EysGKwAMgXXygyzOXkQ7pShV2hQHXICJ75+QvsLTBY=; b=BrEcX9AEyL/f54cYV4OfeP3xHnvIRfnc36W0RTlSRds7qgBcF8b/8qyyEdZV0adbTT B632RVwJ/4jovk8Cw2j8omGhAqvNkT686GS3Ew9oBsipez04u/r3zx7uWbntLxttn9Ji 7jN05Dw+ISLA77a0VvAey93quWkvOQ6U8LmKNYw0wUj/bfvTxRN4Vja34OhqJNha5TUP Dzo1lNixy0CQVHx9HQHg9ABpKuqPw1GiO0DM9/IWeGu3bzE5xziYBkWrF6cNY7wCzX98 UrE4Riwss1BUOPYavnClYiBSIbeBPXmavamIYoUK8Y3xV5/WN5A0dg46D+1K0R1UnLwK naOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HLlv0MeD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d32si19015836eda.266.2019.10.16.08.35.36; Wed, 16 Oct 2019 08:36:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HLlv0MeD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393095AbfJPMeJ (ORCPT + 99 others); Wed, 16 Oct 2019 08:34:09 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:40053 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733070AbfJPMeJ (ORCPT ); Wed, 16 Oct 2019 08:34:09 -0400 Received: by mail-lj1-f195.google.com with SMTP id 7so23833163ljw.7 for ; Wed, 16 Oct 2019 05:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9EysGKwAMgXXygyzOXkQ7pShV2hQHXICJ75+QvsLTBY=; b=HLlv0MeD2E9hs6is28aAs7TiTNwhmn/o8yknVMgs7CtznyDtUhmE4WqzWbmtdEhTEw S82uxowSCTfXLgrrpu3BKca7UbPBMptLGgKeISmGBpqeLrsHALwYdZ/mxwR4Q7m+lNe4 fZyaGKze9yPewQcFzr4L4IFT/7E3DOlrlHFFmgYVHUVGiYJKsjaKZJMOCbqmmD+5nf3I Z8OfG77Ns56FlOdXRl4HNITcWI3ZVs2ME5Txl35hnP60CUmmkhXnzV3CwlGCocQBGQ2e hNsL5JYJJQGh10rCL3Rnc4KdZP4PRxUsQz/UDVi/Tjx/UtpAXBugovlc/WceAt14S0r3 1v7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9EysGKwAMgXXygyzOXkQ7pShV2hQHXICJ75+QvsLTBY=; b=LnV/SAygrKgRJJnXwH71ksc/e6zTOrr6PBNpqESyIVKT+KwoFnkcM4apPyeqttp0xJ x6nJ8FwcsyLyzuMJcLAZXJYDhGPMsY/hiILTAZWk6gQ59elfwF3WdVTMjUKJHvucWHkR kNVBCVoMRtrIvB7uE0/L47CuSpNzs7VTATwO9SpOvg/0rbtl0ExEHcXMHS7r8RYF6sek +Lf1a9OdLRBqVp8xR7J2d6z4tmuwypBS9ywnjGUyijpGbDxPa3/QylVIPT59xiap9CQl 5SVrII/hYcR6p5Fmrrlk8KQJx/vZ5tMvEioXSgC71lG2nqm1aggCHhd8exbEfC4bnx3J Rfmg== X-Gm-Message-State: APjAAAXE1LP8HZpGWfGoFsE1sGCuD5bRN447+mnwzlLKTqwRxUCglqGG AFz3usDAMR8WYsxEObOQCco= X-Received: by 2002:a2e:9a4c:: with SMTP id k12mr26347766ljj.213.1571229247533; Wed, 16 Oct 2019 05:34:07 -0700 (PDT) Received: from workstation.lan (81-229-85-231-no13.tbcn.telia.com. [81.229.85.231]) by smtp.gmail.com with ESMTPSA id 207sm8605119lfn.0.2019.10.16.05.34.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 05:34:06 -0700 (PDT) From: Patrik Jakobsson To: dri-devel@lists.freedesktop.org Cc: Patrik Jakobsson , Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org Subject: [PATCH] drm/scdc: Fix typo in bit definition of SCDC_STATUS_FLAGS Date: Wed, 16 Oct 2019 14:33:42 +0200 Message-Id: <20191016123342.19119-1-patrik.r.jakobsson@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix typo where bits got compared (x < y) instead of shifted (x << y). Signed-off-by: Patrik Jakobsson --- include/drm/drm_scdc_helper.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/drm/drm_scdc_helper.h b/include/drm/drm_scdc_helper.h index f92eb2094d6b..6a483533aae4 100644 --- a/include/drm/drm_scdc_helper.h +++ b/include/drm/drm_scdc_helper.h @@ -50,9 +50,9 @@ #define SCDC_READ_REQUEST_ENABLE (1 << 0) #define SCDC_STATUS_FLAGS_0 0x40 -#define SCDC_CH2_LOCK (1 < 3) -#define SCDC_CH1_LOCK (1 < 2) -#define SCDC_CH0_LOCK (1 < 1) +#define SCDC_CH2_LOCK (1 << 3) +#define SCDC_CH1_LOCK (1 << 2) +#define SCDC_CH0_LOCK (1 << 1) #define SCDC_CH_LOCK_MASK (SCDC_CH2_LOCK | SCDC_CH1_LOCK | SCDC_CH0_LOCK) #define SCDC_CLOCK_DETECT (1 << 0) -- 2.23.0