From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755658AbbDKVi7 (ORCPT ); Sat, 11 Apr 2015 17:38:59 -0400 Received: from mail-ie0-f173.google.com ([209.85.223.173]:33413 "EHLO mail-ie0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752913AbbDKVi5 convert rfc822-to-8bit (ORCPT ); Sat, 11 Apr 2015 17:38:57 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Ben Dooks , linux-kernel@lists.codethink.co.uk From: Michael Turquette In-Reply-To: <1427375249-1555-1-git-send-email-ben.dooks@codethink.co.uk> Cc: "Ben Dooks" , "Andrew Victor" , "Nicolas Ferre" , "Jean-Christophe Plagniol-Villard" , "Stephen Boyd" , "open list:COMMON CLK FRAMEWORK" References: <1427375249-1555-1-git-send-email-ben.dooks@codethink.co.uk> Message-ID: <20150411213849.19585.32110@quantum> User-Agent: alot/0.3.5 Subject: Re: [PATCH] clk: at91: change to using endian agnositc IO Date: Sat, 11 Apr 2015 14:38:49 -0700 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Ben Dooks (2015-03-26 06:07:29) > Change to using endian agnostic _relaxed IO accessors instead of __raw > > Signed-off-by: Ben Dooks Applied. Regards, Mike > -- > CC: Andrew Victor > CC: Nicolas Ferre > CC: Jean-Christophe Plagniol-Villard > CC: Mike Turquette (maintainer:COMMON CLK FRAMEWORK) > CC: Stephen Boyd (maintainer:COMMON CLK FRAMEWORK) > CC: linux-kernel@vger.kernel.org (open list:COMMON CLK FRAMEWORK) > --- > include/linux/clk/at91_pmc.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/clk/at91_pmc.h b/include/linux/clk/at91_pmc.h > index c8e3b3d..7669f76 100644 > --- a/include/linux/clk/at91_pmc.h > +++ b/include/linux/clk/at91_pmc.h > @@ -20,10 +20,10 @@ > extern void __iomem *at91_pmc_base; > > #define at91_pmc_read(field) \ > - __raw_readl(at91_pmc_base + field) > + readl_relaxed(at91_pmc_base + field) > > #define at91_pmc_write(field, value) \ > - __raw_writel(value, at91_pmc_base + field) > + writel_relaxed(value, at91_pmc_base + field) > #else > .extern at91_pmc_base > #endif > -- > 2.1.4 >