From patchwork Thu Nov 21 14:54:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 3219161 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 6B10A9F3A0 for ; Thu, 21 Nov 2013 14:55:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D26AB20786 for ; Thu, 21 Nov 2013 14:55:02 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 35D0F20793 for ; Thu, 21 Nov 2013 14:55:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D495105AAF; Thu, 21 Nov 2013 06:54:59 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) by gabe.freedesktop.org (Postfix) with ESMTP id 02BB4105AAF for ; Thu, 21 Nov 2013 06:54:55 -0800 (PST) Received: by mail-qa0-f52.google.com with SMTP id k4so2810990qaq.18 for ; Thu, 21 Nov 2013 06:54:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=rsJ1eTPR5KiydK39QIIDF84BPA02U8BczG+uMhRmtKg=; b=Zc4yL57jCKXw0i++67CELQ+w4wnEbY4WiocWhrXu98mJbTprysQu4uxit6puDZ9+dO ZnADzum1RQ9VBRXcwDsER2rdco++JbOTF9E5ZFvVRIFDPY+DieIQM0vHfYHwuB1Yho5H axyhROy9iaXP678grfCm0qWaDnxMr8dzdZLtLiTnXD6bW/bKFsI9saaD0T2srNGc17dl sGqt4DK5OBBwEb7P5hZnYMNrq5RI6hj1/6d57AWBYwaP5Yi6gNiiLKjYtXj165hfrs7V kt/UWbR1eBihchG6D/zfO2QVIfOS1ncaKRgm6Hu03dYqNNlk48u+0kkNZnxCafJj9g/c nLgg== X-Received: by 10.224.22.20 with SMTP id l20mr11853560qab.17.1385045695442; Thu, 21 Nov 2013 06:54:55 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPSA id p20sm25497668qay.0.2013.11.21.06.54.54 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Thu, 21 Nov 2013 06:54:55 -0800 (PST) From: Alex Deucher To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: fix typo in fetching mpll params Date: Thu, 21 Nov 2013 09:54:50 -0500 Message-Id: <1385045690-24051-1-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 1.8.3.1 Cc: Alex Deucher , stable@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 Copy-paste typo. Value should be 0-2, not 0-1. Noticed-by: Sylvain BERTRAND Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- drivers/gpu/drm/radeon/radeon_atombios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index f79ee18..5c39bf7 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -2918,7 +2918,7 @@ int radeon_atom_get_memory_pll_dividers(struct radeon_device *rdev, mpll_param->dll_speed = args.ucDllSpeed; mpll_param->bwcntl = args.ucBWCntl; mpll_param->vco_mode = - (args.ucPllCntlFlag & MPLL_CNTL_FLAG_VCO_MODE_MASK) ? 1 : 0; + (args.ucPllCntlFlag & MPLL_CNTL_FLAG_VCO_MODE_MASK); mpll_param->yclk_sel = (args.ucPllCntlFlag & MPLL_CNTL_FLAG_BYPASS_DQ_PLL) ? 1 : 0; mpll_param->qdr =