Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp611844pxp; Wed, 9 Mar 2022 09:05:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzD3Hfi4Mk0KPripUnNWZepojcdUpOcISbQgfSyrYdvLf1ZMPHgYOkluKweUvsmVSR8HuXH X-Received: by 2002:a05:6808:211c:b0:2d5:3fbe:7c05 with SMTP id r28-20020a056808211c00b002d53fbe7c05mr6430836oiw.1.1646845533114; Wed, 09 Mar 2022 09:05:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646845533; cv=none; d=google.com; s=arc-20160816; b=0/IIZlKkf1SH44dJOqvxcwBd+WvSY+RLEc7tyJEdcZD7KpUA6vV/JFT7tTVPBRqzC0 FRVLGOof8GfLfqTFkhtxoleCUju8Jp2WFBgI/EGCW79+nWkbr9QpJuuDRm6e40sRtjYD 8fgM0jR4T5tenZNjqnYKoC4/iuyNsh5vVPRjxopYI485DyynBPdlDYghKAf1cswLJSZr BAPheTTcG65Na4Y0xQZ6a627Ws1yOWAIowpHPSaA+Ou1NA01dknW3DuytxqP4wtwVV82 b7ZeBKiF+8gIciCJ7EQIPmO6w0JaRgot256YIN+lodtpSBf7SvyyMda4bPhcyeKbJK03 sQxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jD5tZeMJyZNMNUWfLN3vw5FbsgGz51lMl3mCcg3MPjE=; b=EIPKNwcAYryP44Up92DflsFautagi4pIZ8OdgU6CW12XwqyaHrHBSyrs+2K+SnZlxv 1Lac2GwtR/+cEAca3J9BBIvK8Vy//lgKGPawgf8nIpUvOQs6YtZZm97b3W5u7MWcRtCV /Y4sp58Pk9scAxGHRvL8gChXKu5dlCaANN3mGeTWTctJ4DDt3r5g5GrsoXXB2h76Jaa1 bO+ZxrHarREB2h/q0oQx8Z7+dRTeKUVkmkekG4jF5BmuWfy+y1SxcHd0O7DP0+S2ns7v stGuQ0A7QqAAlaek17DSsRUz9uFqadqueJmEv7FP84lfEZIQnch4KOuoccsG3fUHbMb8 4uTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BMC5w2Nz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m14-20020a0568301e6e00b005b22df92a66si1850320otr.73.2022.03.09.09.05.08; Wed, 09 Mar 2022 09:05:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BMC5w2Nz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236777AbiCIQsM (ORCPT + 99 others); Wed, 9 Mar 2022 11:48:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236987AbiCIQaa (ORCPT ); Wed, 9 Mar 2022 11:30:30 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2CB9FBA40; Wed, 9 Mar 2022 08:23:54 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C08F11BF205; Wed, 9 Mar 2022 16:23:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646843018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jD5tZeMJyZNMNUWfLN3vw5FbsgGz51lMl3mCcg3MPjE=; b=BMC5w2NzXVe7zRADn1A6UdYADpO486ZK6WcQC2IMUvL4EAugjInUOP0LipITC/2nqKRUBr eNMR26Ia3MTXYuI8hYA3QqkQTSrLZEn3IYP7Bz0+VVCONcj75KrKFKXLbho+83Vur5HuxP XrwcP8d1Jy6/r1vrj4i77l5SonEABuYed8q08lFC5YIDooFHS7+5+cJ7SElo0+wF0PSidG Yo0MFfxbwwtXfIk9C9Ujy4cUJqXj2Fq2evz+APy9Gh7u7vu+MPvouN2J8bzLS8zucraA9J O8i8k3UeMozPMHheJyRwb4zB4RhGDzTirEf1kqyBZUSv/hvz+3Wtg1bdiqUQHw== From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 27/29] rtc: hym8563: switch to RTC_FEATURE_UPDATE_INTERRUPT Date: Wed, 9 Mar 2022 17:22:58 +0100 Message-Id: <20220309162301.61679-27-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309162301.61679-1-alexandre.belloni@bootlin.com> References: <20220309162301.61679-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-hym8563.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c index 78f21f623d89..90e602e99d03 100644 --- a/drivers/rtc/rtc-hym8563.c +++ b/drivers/rtc/rtc-hym8563.c @@ -545,8 +545,7 @@ static int hym8563_probe(struct i2c_client *client, hym8563->rtc->ops = &hym8563_rtc_ops; set_bit(RTC_FEATURE_ALARM_RES_MINUTE, hym8563->rtc->features); - /* the hym8563 alarm only supports a minute accuracy */ - hym8563->rtc->uie_unsupported = 1; + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, hym8563->rtc->features); #ifdef CONFIG_COMMON_CLK hym8563_clkout_register_clk(hym8563); -- 2.35.1