From patchwork Mon Nov 12 03:20:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10678077 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 587B31709 for ; Mon, 12 Nov 2018 03:24:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4711B2A14F for ; Mon, 12 Nov 2018 03:24:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B1F72A154; Mon, 12 Nov 2018 03: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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 E1A902A14F for ; Mon, 12 Nov 2018 03: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=ke67r/u0bSZZZc cj0Z1/R8eFkatDOXhYDulQePzPvTEn0E7g2eSQXkPDmCoKGjc1Gd6wlCa/VB+oA0BhqxwrmUtrRTp f0ShU0hsfoldmz764NBGJ8RjXlopZWhBTpkPZYAZVNK+ykdQw1vd5Y6kbISswR9EhvF4eHbkOS7Wa 0k/iXqgDzRCJbVxA/+y2pqMAipWvn32EuPJCp3Mw29p87QM+R9mY9cuu9Qr8IiHquiRGwUh7FQo0C iiqa2ojpKfzB6PwJ4U++XF8JZ/iMm2JGEbpIm95M9bF3lnsysaRwPwN2fq3MdODxa3iP+hlFes11D 2b0YED65oFGLNbVUJMyQ==; 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 1gM2qK-0001Yj-LB; Mon, 12 Nov 2018 03:24:52 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2nC-00071q-UJ for linux-arm-kernel@bombadil.infradead.org; Mon, 12 Nov 2018 03:21:38 +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=A6QOv+3OVk/rSmdXpuMyI/craG 8P/3AcLFehuKJn/RGiEnYv2t+olFDtggbqOqjHALq/Mk62/HaGPzDh2NPLfCzxClDuseP/gDtgAQP dRh+n7VzsqltdoKlrPL9L5NLLeAEBpufF1+WZgWGH7z4iCXQzedfhMbRq4gb8pa8KpEdfKpotuBJw 4airHKki9BblY/wSBPv1ccqhXZMBXoUvHHTMkr+IIO/G5QYnRGkRCktryxSGA3Fr4r+lvMxv1yglb 3UJhEvyzGdaGVFFQOdmcBoxsDOjynzp4WlTdn2xWkcyesyexjvK0MpSsQGnAovbocx2LU6KXEKZ5X LxPkvZjg==; Received: from shell.v3.sk ([90.176.6.54]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM2n8-0005xv-8c for linux-arm-kernel@lists.infradead.org; Mon, 12 Nov 2018 03:21:37 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id F24F1C6A35; Mon, 12 Nov 2018 04:21:24 +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 oO8sutL-oE2o; Mon, 12 Nov 2018 04:21:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id C5564C6A31; Mon, 12 Nov 2018 04:20:46 +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 eBUYClaFBRsr; Mon, 12 Nov 2018 04:20:43 +0100 (CET) Received: from belphegor.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 3EA76C6A30; Mon, 12 Nov 2018 04:20:39 +0100 (CET) From: Lubomir Rintel To: Eric Miao , Haojian Zhuang Subject: [PATCH v3 13/18] ARM: mmp2: initialize clocks before the timer Date: Mon, 12 Nov 2018 04:20:22 +0100 Message-Id: <20181112032027.653931-14-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181112032027.653931-1-lkundrak@v3.sk> References: <20181112032027.653931-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181112_032134_360782_33FCE65D X-CRM114-Status: GOOD ( 10.45 ) 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: Lubomir Rintel , Robert Jarzmik , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King 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 = {