Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1007620ybm; Fri, 29 May 2020 18:24:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhVLT9rpEDMO0TJSLNYxm9tNAvJNvA4UPBrXy4eZlU437Pr8Ke1I3poDgeycxM5H/U8bqV X-Received: by 2002:a17:906:ece3:: with SMTP id qt3mr4679569ejb.459.1590801875792; Fri, 29 May 2020 18:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590801875; cv=none; d=google.com; s=arc-20160816; b=ogY5P/sXsA04FVTcmq64Cc1esU656C18gUTFNbJF9Zg1IU2T5Jaw95ivk+Y9s/1EIf n32PM3SIHPyskI0MzJk1Q14ZOCvzK4vlNXlE3/+FSbTxSMocpmF++m2nSwIP7Hx6aoPT 6U/ixXB4J56FoXPuh6tILjPA2O2PEd/V3z7G64HW7QxEQFsLgknDbJAr4TC4mSVyH1ZG MrAidzbOEVRSX5m5DzlRm8pWvvscOvxHl5g0wNu4wfOoheShNlroXpHDbuLpNIVaVDWI +FN4LyEZxqsfkR6WWNvdAD7z5vX3N+FMRRbaOdqGfUOlSMdWEGG4QFygof7NcIY50BRm RsbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=lV9pgefL9Ur9aUTFTPzspkky/4b2y9etLqW5NY9axZs=; b=b986/1H1acEHQazU82Ip2OSpR+Q/ZLOAPiW7oulaDy8twZaS2xJQ6L9vboO2oy7PtW f9iM5Fk+EeAN5ErVncPUfXJxqSkBRCx5q0MtKhxmYnNqfnM+TBFaqWPc6RLLnEfB0unj dfqMf0UZeA/gSt8fFE+Cn/Wo7CHFw1dSkKcwLzLdgY/g4SoYSjHMuaYLCgbPxsogs88k vj7Jdd66yJXmMy2s/bLqqJ3Da7MRI6x6ahXCgqtJkIzF/9TPLfCotiGJ2BYy9tPVF51i BAKsQLLfTgssGaxyYT/YDnddfMzDWEsJcLXHn8HTUAR9K/A0DfXlx76f1RFtmUGJEh9P WGQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si6697892eds.227.2020.05.29.18.24.13; Fri, 29 May 2020 18:24:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728625AbgE3BW0 (ORCPT + 99 others); Fri, 29 May 2020 21:22:26 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:38383 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727876AbgE3BW0 (ORCPT ); Fri, 29 May 2020 21:22:26 -0400 Received: from localhost (lfbn-lyo-1-15-81.w86-202.abo.wanadoo.fr [86.202.110.81]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 5BDC7240005; Sat, 30 May 2020 01:22:24 +0000 (UTC) From: Alexandre Belloni To: linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Anson Huang , a.zummo@towertech.it Cc: Alexandre Belloni , Linux-imx@nxp.com Subject: Re: [PATCH 1/2] rtc: snvs: Make SNVS clock always prepared Date: Sat, 30 May 2020 03:21:53 +0200 Message-Id: <159080152194.309341.5742052779188282691.b4-ty@bootlin.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <1590113996-31845-1-git-send-email-Anson.Huang@nxp.com> References: <1590113996-31845-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 May 2020 10:19:55 +0800, Anson Huang wrote: > In IRQ handler, ONLY clock enable/disable is called due to > clock prepare can NOT be called in interrupt context, but > clock enable/disable will return failure if prepare count > is 0, to fix this issue, just make SNVS clock always prepared > there, the SNVS clock has no prepare function implemented, > so it won't impact anything. Applied, thanks! [1/2] rtc: snvs: Make SNVS clock always prepared commit: 20af67700bc39bccd838414128f63a72965de6e7 [2/2] rtc: snvs: Add necessary clock operations for RTC APIs commit: 4b957bde561f3a56865395be06f1be2c196b0b5e Best regards, -- Alexandre Belloni