From patchwork Fri May 23 03:32:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?St=C3=A9phane_Marchesin?= X-Patchwork-Id: 4233941 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 55A1B9F381 for ; Fri, 23 May 2014 15:52:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 863E1203A0 for ; Fri, 23 May 2014 15:52:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 665B4203AB for ; Fri, 23 May 2014 15:52:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AFA326EE57; Fri, 23 May 2014 08:52:40 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by gabe.freedesktop.org (Postfix) with ESMTP id D34286ED5C for ; Thu, 22 May 2014 20:32:52 -0700 (PDT) Received: by mail-pa0-f46.google.com with SMTP id kq14so3449492pab.33 for ; Thu, 22 May 2014 20:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=7X2ETIiJmBzzJzOwI144Wde0Jl4su9hE3mBfCvtDBiE=; b=l0r4Ho55jfKaiYPZXUr+LaOeiW3m235TaBfyXxdgcRCx7BtarVrgY349py/w7OlZPO SohnAgJG2ogiCcTFm/uhN4dkLCs0LG8yjhHzyscUcQ7MkAu2dre2E7BYnlDEQDfaXCu0 seV41y8YABZo7hnxlDB1zSADVVKULM3C/tNuw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=7X2ETIiJmBzzJzOwI144Wde0Jl4su9hE3mBfCvtDBiE=; b=OL5fXhdpptqvebKHg7DSTHBUFsTWy4/lkS1Vz1ym30zsJhI+0bf5PKXtpvv6DQSXP5 VPiqmvf80zp6c4+QufvTJmREG4urmThDoN63BJ1B9xhoIlh/1aRHaZZUR4hgfVwOzsGQ wkaG7dWSKRwmTANK67nhOucayci7p0aLSm4UztXmAjn9ZkMPMXecPwWrJZykzaO6TsPn xbjBAT3BAFAysCnLERWEKC/BuPsbGEf4Er7Tffxk7zk7ceU9yopBryR2Pk7FEJ2m1IYB mU0DsTSbuC5jTrquSBhk6Tq2b/VNXPMhbT9rpRqi6bfy+Gjf1b1hqjKhqggT2KPWYdLJ w+Cw== X-Gm-Message-State: ALoCoQm3dGBnw7a7YSyfkBmi9ory+IiJmZ705GERHtQ5U0awL68OzWW9AHDstKxL5FIs/Uq2dEQL X-Received: by 10.68.213.34 with SMTP id np2mr2127917pbc.167.1400815972717; Thu, 22 May 2014 20:32:52 -0700 (PDT) Received: from localhost ([2620:0:1000:1b01:82c1:6eff:fef8:b068]) by mx.google.com with ESMTPSA id bx5sm7544357pad.22.2014.05.22.20.32.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 22 May 2014 20:32:52 -0700 (PDT) From: =?UTF-8?q?St=C3=A9phane=20Marchesin?= To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/3] drm/tegra: Fix copy/paste error Date: Thu, 22 May 2014 20:32:47 -0700 Message-Id: <1400815968-1084-2-git-send-email-marcheu@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1400815968-1084-1-git-send-email-marcheu@chromium.org> References: <1400815968-1084-1-git-send-email-marcheu@chromium.org> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 23 May 2014 08:52:37 -0700 Cc: =?UTF-8?q?St=C3=A9phane=20Marchesin?= , treding@nvidia.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,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 The comment above mentions link A/B but this isn't what the code does, so let's fix that. Signed-off-by: Stéphane Marchesin --- drivers/gpu/drm/tegra/sor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 75b8690..43709ee 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -624,7 +624,7 @@ static int tegra_output_sor_enable(struct tegra_output *output) tegra_sor_writel(sor, 0x00000001, SOR_HEAD_STATE_5(0)); /* CSTM (LVDS, link A/B, upper) */ - value = SOR_CSTM_LVDS | SOR_CSTM_LINK_ACT_B | SOR_CSTM_LINK_ACT_B | + value = SOR_CSTM_LVDS | SOR_CSTM_LINK_ACT_A | SOR_CSTM_LINK_ACT_B | SOR_CSTM_UPPER; tegra_sor_writel(sor, value, SOR_CSTM);