Message ID | 20170309104154.28295-2-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4DAA3602B4 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 9 Mar 2017 10:42:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D35328551 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 9 Mar 2017 10:42:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 315EA285DE; Thu, 9 Mar 2017 10:42:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0684128551 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 9 Mar 2017 10:42:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=UjSdPwKxEEM17jNn5QHW9TJUwv1YSJ3QTTk5szxabYs=; b=EsdSyGAF+/zrK3jGFrvOsxgc85 YtjwwyMTzMr749qdpH9XS7SVQnB0gQfcEHatyWi1V7S7daOY7ZjBHRUtKZ3pkpY2kOoo3vwCNE+NY il/tvlrC62juEuYSl7najRE9pjxBcJnCWkNq0EX2Qsl/aVD17YIL6tm5dOaWweqDwe6X6EkLgegmx h5oBoBNQKNTTANhZV//QZ4s3ZvzRZNqYVAoKw/FrgfsNfd4UAsNhh37cOleqVFnE6+dolE/qox6GN mKw4vtCVFTLdE9kNujtFRnEasqp+mvnNXYXTbor/sG6GEUG74yh9+6gk9U08YFOG37GdqGvn0ZW7A 5AdjU9DQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1clvWg-0006OB-Ht; Thu, 09 Mar 2017 10:42:30 +0000 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clvWd-0006Jq-3r for linux-amlogic@lists.infradead.org; Thu, 09 Mar 2017 10:42:28 +0000 Received: by mail-wr0-x231.google.com with SMTP id g10so42098372wrg.2 for <linux-amlogic@lists.infradead.org>; Thu, 09 Mar 2017 02:42:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QRL7gg7hbHSglKXwx4V/J1HMW8/MpPEuKVL6Qv8nHfs=; b=a2QZHRUuCuAtd477RsnzNjfc+QuZV+/ioyjEBvH44YmVs5vI9LTWISiMvtqcig6U8h jDNlEmGXV0eeJrDUlslRHWa8PPsHyRdt160ySWwCu2z6BJ8TLZ/lTolwBei9U9/DB/Kp 7XAMdnemI77D+KbDLXzJu4eOt6eAM7+x66ycLPE3wL+AdTF01xlgTfhSrRlBBcH6QJLY tufH1NChD48gZUqFTjH5eNtSYw25LbTrBG9Noa8VafFhJ2XDo4GwvFqMt5zjCtfSVVzf ZqqXgXszMH3AWlHVyw+53LpKpr3uG1VPujmoPs9XOZYwD5adcQWTmQkMfWdd81AHdHuJ KVSg== 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:in-reply-to :references; bh=QRL7gg7hbHSglKXwx4V/J1HMW8/MpPEuKVL6Qv8nHfs=; b=n00Z4rOtsMs9N4aFMWF2+HEa2JZ3daSGbWihbK0GZHWaKIsqPpv5op9HSNwE7TKNk6 nPAaS8nU40fI/mWDWYfHQqt36LxN1fRm7AZpGZm6DBFHyX/DDhhUzwjB7vAVnSgAeH4q oXXl15oTMsBg1KuEttI9r1HK4X8DlWP1fJsZF+ErYSj83W1vIg599hhRBXywAHIM8DoB ZJNN7MW+QpanWpCB8mWMM55M5+lBHRb07lxzdAF81L2EsNqySGGNHbRT+IN8P0pxvAN/ GHisIQBpoKjV78t7HSThdPeXNEy4NgtCDG2xie+S+LpYQVez3o8NCUxWMUPix6i+PS2A 6C/w== X-Gm-Message-State: AMke39lAoAXmgIXuTzukE+3eFg41r9nb8kFdHu0nUl6iVn2zM6CY6p7M3ct83fuPx9k62gso X-Received: by 10.223.150.110 with SMTP id c43mr9964828wra.85.1489056125308; Thu, 09 Mar 2017 02:42:05 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e6sm7724113wrc.30.2017.03.09.02.42.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 02:42:04 -0800 (PST) From: Jerome Brunet <jbrunet@baylibre.com> To: Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org> Subject: [PATCH v2 1/9] clk: meson: fix SET_PARM macro Date: Thu, 9 Mar 2017 11:41:46 +0100 Message-Id: <20170309104154.28295-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170309104154.28295-1-jbrunet@baylibre.com> References: <20170309104154.28295-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170309_024227_309075_0D7CBE64 X-CRM114-Status: UNSURE ( 8.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/clk/meson/clkc.h b/drivers/clk/meson/clkc.h index 9bb70e7a7d6a..c6be77dd8694 100644 --- a/drivers/clk/meson/clkc.h +++ b/drivers/clk/meson/clkc.h @@ -25,7 +25,7 @@ #define PARM_GET(width, shift, reg) \ (((reg) & SETPMASK(width, shift)) >> (shift)) #define PARM_SET(width, shift, reg, val) \ - (((reg) & CLRPMASK(width, shift)) | (val << (shift))) + (((reg) & CLRPMASK(width, shift)) | ((val) << (shift))) #define MESON_PARM_APPLICABLE(p) (!!((p)->width))