From patchwork Sat Jul 2 20:30:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9211029 Return-Path: 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 038D66075F for ; Sat, 2 Jul 2016 20:30:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBCBE27F9C for ; Sat, 2 Jul 2016 20:30:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCFBC2858F; Sat, 2 Jul 2016 20:30:35 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6838627F9C for ; Sat, 2 Jul 2016 20:30:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751658AbcGBUaP (ORCPT ); Sat, 2 Jul 2016 16:30:15 -0400 Received: from mail-vk0-f67.google.com ([209.85.213.67]:35862 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbcGBUaN (ORCPT ); Sat, 2 Jul 2016 16:30:13 -0400 Received: by mail-vk0-f67.google.com with SMTP id j65so8056401vkg.3; Sat, 02 Jul 2016 13:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=J94AvjOBV1AQMiGiABK6m1qHOCFNI59f0BkoNbj0tOY=; b=oW+LScI0htKaRmX/aYqLl9SWwIEnZ9hBYd0QTVOCMGx0c6IMPvVk6nK6gxyqYfC8iL 58o+1gk1Vv20yVgnex+fJc4I9kv1uU65V/gEl3kgOelcR6nehOSa2+I9Xw1HQJg4KZk3 mDBwwGgIRla2Ij7yH3HcA3QcbXocD9iR/t3tpsLJpUZQzJTzobuInk7KT4uI/3nfvk1a rn72FTI4GJtHrxVomPhwhsaZIQoVWPzu7dzUIM9jp1b5ZD5QOyUpvTjib4BgGY+fkEyw H3gtv/wQetpggvNZwQCpCLmDW3/6A//5BvI+FwxqJKowngZC6EnE1VSvcPo2QnBFzk4E 7GWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=J94AvjOBV1AQMiGiABK6m1qHOCFNI59f0BkoNbj0tOY=; b=V89f/C2VgH5I7zUqJgNo1l0rYtHcZe8g67MmAsFjO2EQxmiCu+QPEOQYfjB+RB0mk+ FKX2P8tBQ6J1tz7LKQCt/lm8mAdioVDZvUAdd6EgEDjfqcHrG6RMlY0WDbQr5Dosh3c/ glkAqFFZzEv6I2pDm1kKEsCiFsHjIjkVhAAWYSbUVSdl1jQ2C68wgL4YNX0UuTRboyMv HyVOQxidcMbZ8HTe+Khx70bBnDFSwUGCLBDw5To6bPWiUop/ziJQe+XGj/JtuOZ+6/ph 3knMRD1P3rvZxilt7uRBOPb/uIx6HhnWqNeu/Iw+bcnPrNAmgFQtSc40DrAdumsar+Pf bF4g== X-Gm-Message-State: ALyK8tJCHsv1Pof39H9rXR8et2+ctwt2JP/1ueVpWKF3ktj8cO0MUxIzZUA+xfntHOnCpVfAs6AdyOUbDsr1Cw== X-Received: by 10.159.36.82 with SMTP id 76mr2078206uaq.155.1467491412517; Sat, 02 Jul 2016 13:30:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.92.10 with HTTP; Sat, 2 Jul 2016 13:30:11 -0700 (PDT) In-Reply-To: <1467208335-29876-7-git-send-email-aisheng.dong@nxp.com> References: <1467208335-29876-1-git-send-email-aisheng.dong@nxp.com> <1467208335-29876-7-git-send-email-aisheng.dong@nxp.com> From: Fabio Estevam Date: Sat, 2 Jul 2016 17:30:11 -0300 Message-ID: Subject: Re: [PATCH RFC 6/7] clk: imx: pllv3: convert to prepare_hw and set_rate_hw To: Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-kernel , Stephen Boyd , Michael Turquette , Shawn Guo , "linux-arm-kernel@lists.infradead.org" , Thomas Gleixner , Stefan Agner , Lucas Stach , Cyrille Pitchen , manabian@gmail.com, Yongcai Huang Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Dong, On Wed, Jun 29, 2016 at 10:52 AM, Dong Aisheng wrote: Thanks for working on this series. Tested the whole series on a mx7d-sdb and it does fix the several clk warnings that we currently have. > +static int clk_pllv3_set_rate_done(struct clk_hw *hw) > +{ > + struct clk_pllv3 *pll = to_clk_pllv3(hw); > + u32 val = readl_relaxed(pll->base) & pll->powerdown; I had to change this to: the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/clk/imx/clk-pllv3.c +++ b/drivers/clk/imx/clk-pllv3.c @@ -108,7 +108,7 @@ static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned static int clk_pllv3_set_rate_done(struct clk_hw *hw) { struct clk_pllv3 *pll = to_clk_pllv3(hw); - u32 val = readl_relaxed(pll->base) & pll->powerdown; + u32 val = readl_relaxed(pll->base) & pll->power_bit; ,so that it can build against linux-next. -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in