From patchwork Wed Nov 28 17:53:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10703111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2EC4E14BD for ; Wed, 28 Nov 2018 18:24:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15FF42B389 for ; Wed, 28 Nov 2018 18:24:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 099C82B3EE; Wed, 28 Nov 2018 18:24:54 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 4AF702B389 for ; Wed, 28 Nov 2018 18:24:53 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=opDQZBmkimz4PW0+yAOfwdK0ZLHL3Rr81hjy1qDkMS4=; b=jL6A6dyY8Xzm6a QkZ7dnm7N0kIZt1o50uUcZzoqz5Mct05zRBMzy4ut99/I05d0Ye4C1XEXpOwRgAnUL8fv5g9y0AFx C44zYiyN5dF++FoUbJFcnUlv0z8+B5vaQok5Sce9z0AZpvkPmq+RhOvfFGS/vS3wEM+k3tZeOWzcN XUIDZ8Up95E21ERsh5Wi3UZTya6QhRJwMsOIYCoxSsz0gH8Eawizq2uOCNGqo49ZbjzqQeOx0eqM8 nbJR3GlYCzAPg1F1UmvAFNY76wiaJ9RmO29Mmj08eLbmarbL7CsGvVnwQuKgpS7AhYtd1uAcImb0C ZBxiskCHGOYVLBF2Zrcw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4W4-0003pz-JB; Wed, 28 Nov 2018 18:24:52 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS4Fa-00043d-Vh for linux-arm-kernel@bombadil.infradead.org; Wed, 28 Nov 2018 18:07:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Oa/vdOOGJWYIBGZt8oh5dKgNq7LHuoYUsFdy6jDwWTU=; b=vb/YPZotRttyUSUa5q+RcBZ/+k eohYpcOrzfN3YsKIQDY2mUla6hpwBsqQaMk6dHSNfdlh1Yfkaj5GxR67GfOgksrzR+GyIWjTznGZg unabpcwABRIjck/ynxom/fnYLQEoDpufX/VuMhQJUW1fH4FxQELrU8+inW4Xlgq95+gMIff0YU8qk kZGuP145zR4eC+OneihIUjFj0ZJmwRA/wpP+iXXTzQ0f53p8wF+whBOiLmcQLRt0jPz5sAF2Rwazv iY6NW8efPaTn4X4Y5tIxAi+EQw+uZQqtQB8w/QLL0bTgvsYC+b0dtLnR5DPcJKKR0368zd/+KY6Ik OINZi3sA==; Received: from shell.v3.sk ([90.176.6.54]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gS42g-000878-4h for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 17:54:31 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id AD81F99AAE; Wed, 28 Nov 2018 18:54:14 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id OpN2uRK6Ek7P; Wed, 28 Nov 2018 18:54:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 7695199994; Wed, 28 Nov 2018 18:53:42 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AkCB2kB47FYv; Wed, 28 Nov 2018 18:53:37 +0100 (CET) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 68E6299B34; Wed, 28 Nov 2018 18:53:32 +0100 (CET) From: Lubomir Rintel To: arm@kernel.org, Olof Johansson , Arnd Bergmann Subject: [PATCH v4 15/20] ARM: mmp2: initialize clocks before the timer Date: Wed, 28 Nov 2018 18:53:19 +0100 Message-Id: <20181128175324.163202-16-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181128175324.163202-1-lkundrak@v3.sk> References: <20181128175324.163202-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181128_175430_227498_A57A23AB X-CRM114-Status: GOOD ( 10.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Miao , James Cameron , Russell King , Haojian Zhuang , linux-kernel@vger.kernel.org, Lubomir Rintel , Pavel Machek , Robert Jarzmik , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The timer shall enable its clock. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/mach-mmp/mmp2-dt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c index 0341359b24a4..50c5e8b5be3d 100644 --- a/arch/arm/mach-mmp/mmp2-dt.c +++ b/arch/arm/mach-mmp/mmp2-dt.c @@ -26,8 +26,8 @@ static void __init mmp_init_time(void) #ifdef CONFIG_CACHE_TAUROS2 tauros2_init(0); #endif - mmp_dt_init_timer(); of_clk_init(NULL); + mmp_dt_init_timer(); } static const char *const mmp2_dt_board_compat[] __initconst = {