Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp611801pxp; Wed, 9 Mar 2022 09:05:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZKJEhot41LavV6AmTv1YLgKESFUyzlE4Pf8JVBxCvh6qsoWPqIGB681NXhXuoowUxduYP X-Received: by 2002:a17:90b:1c83:b0:1b9:caa:8230 with SMTP id oo3-20020a17090b1c8300b001b90caa8230mr11388748pjb.26.1646845530455; Wed, 09 Mar 2022 09:05:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646845530; cv=none; d=google.com; s=arc-20160816; b=K+TyyipP3WZtC9VSiOYArT+3ot7cPkUM3A3N4L4d4v1WBkfMYz/Fl4IB5PbmWUC7T5 zr11dSiDNJhEQ5nl0oGYIflIAWl4oF+ynA4MzQpwheFM+rtdywQu3pQLlmjuErfSHrtd rsvKiBD/Jc2JO2Ns75ZQh9+h2btvzxwM3dUnjJTVR/0rn09yTARutPXvp7k3KkK+4jvU LV1BKvLaJFNwAjYMWEiEEiVDdAH4aMubCygHF5tB4Y1t+gadIt4hEOlOGgx35Crut0ee ztptJnAR6Jtu/tneGZmuRiu0q0LYxTNWibzyHIhKsJupzaEux5PWD1rJI5QbptsF2Hxc qqNw== 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=SS9cTXtdLiL9KpSWnPqyrZ4w2BtGkHDqzbn5AdkhuQw=; b=KsRd00XjOsK2VCRyz2l8KsceRh4QvBaWrRuJi+9eWcSw9jicH7Y7D/zgUajCzEtShH +PIsxBt69rQerN3S8afoTpNV4KXL2oWIYamichDXJtUTzaXQtAdLEhKdVNDPY6e+BCrx zWPVfBPD1v0Tc/uhIfsvhaqPlbrE+G/pofXP54lySLdkPtvpqO8g+09+shxr6sDJcZto splcx1ucKedxR/kj5OYkuIC5wfuKITXOvJQJ+ejhUTUH5ryW6XUPbmhiIExPwwbKBAUQ xhYPZN0/Tnh5NmeKM1rTmu/zLZrfXR6APobN2oWwO0hyEzoJ/YN67ntyHMUZHZgQF3hJ 1XWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=k7NyuzUW; 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 u8-20020a63df08000000b003657e94cb9bsi2132150pgg.542.2022.03.09.09.05.02; Wed, 09 Mar 2022 09:05:30 -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=k7NyuzUW; 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 S236112AbiCIQry (ORCPT + 99 others); Wed, 9 Mar 2022 11:47:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236783AbiCIQaM (ORCPT ); Wed, 9 Mar 2022 11:30:12 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39AFFDB879; Wed, 9 Mar 2022 08:23:35 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 6AE8DE000D; Wed, 9 Mar 2022 16:23:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646843009; 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=SS9cTXtdLiL9KpSWnPqyrZ4w2BtGkHDqzbn5AdkhuQw=; b=k7NyuzUWZMeuTDjBSqBiP4XqO9Iaj5wlS0KqadTAxvaLx1rAjBT8+IzY+hHLMobpcKtOt+ 6ux8AZA49sBm87cLzAiLtmQY27ifpU3SIdChv7E+yD3oV5mgD3WLzn+Axh5N59siOaUKwc 7Z9UmjCHVDkiTyqv9nWsCIJnI5Z2i+9y1zvKgqHiQNcvIX0VvxenBd4vMqACZYVUPReXXd FZxPkXUM9w0QKq1QCF0kt6AJrsdvVfB2iRWk+GLrGqWZNn3ObvUaI8IWT766IbwhacFzBS vhPFVhrcqFbSVGF7O5jYNUFzjP6I/mLy10qQ5Qo6PjIm1zLsXHGm+a4k6qZohA== From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 17/29] rtc: pcf8563: switch to RTC_FEATURE_UPDATE_INTERRUPT Date: Wed, 9 Mar 2022 17:22:48 +0100 Message-Id: <20220309162301.61679-17-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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-pcf8563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 530f06c810fa..9d06813e2e6d 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c @@ -552,8 +552,8 @@ static int pcf8563_probe(struct i2c_client *client, pcf8563->rtc->ops = &pcf8563_rtc_ops; /* the pcf8563 alarm only supports a minute accuracy */ - pcf8563->rtc->uie_unsupported = 1; set_bit(RTC_FEATURE_ALARM_RES_MINUTE, pcf8563->rtc->features); + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, pcf8563->rtc->features); pcf8563->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; pcf8563->rtc->range_max = RTC_TIMESTAMP_END_2099; pcf8563->rtc->set_start_time = true; -- 2.35.1