Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp601523pxp; Wed, 9 Mar 2022 08:55:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLAiMEGnkrc8QtncTim9xKlpPM1DwxoZfuPOjIK6KwvgJuNvL0eBMJM/Vd6KGmLclSwF0o X-Received: by 2002:a17:906:a1d3:b0:6d0:80ea:2fde with SMTP id bx19-20020a170906a1d300b006d080ea2fdemr621188ejb.344.1646844932893; Wed, 09 Mar 2022 08:55:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646844932; cv=none; d=google.com; s=arc-20160816; b=JRPONBxvU6PWHQBcuulwbElYjlCQovqbD3wWkqH86I9yyglbfoSzS56D55zkpHGINz 09MBWw4r7OQ9WfwIR5awznrXiCM2e1nD5ztSXyhUf/nmas+YmDDnSrzY4gMVIoFkzUy7 eAm/HDxfRgZV+C1uLTqimWKzL1WG9G6kP3RTDZ2wqJpn/iXhxh8FlDMpvvoqmpHm7lA0 NImzPbHJsuZLEFs8MTVdyimZxDWbESmLZlcsFsMkNjXipqrnDDgwIsa+JbT+u/+8TpFc LI+oDlEgiQVHCoQBzveD4BLNsPSEHtYclCnaSFsX6dAb4MPNpOo11OuZqss3MoRPuITv uI3g== 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=MNTN3+AUOo9YtakiJ/J0MXG50EA6MT75Ek8TEJT/H4o=; b=E4bYThkpu1T7bjdJdJy4tXjTE05q7IkLvEaO2Yd2LwvPqG+gT2prc1YZULlnCX/z6f gI6AKF0nPZNniTnGLOswphF4H0PZLAbvOEfC5/E2LCK30U4BoKBeon4cWrOyPBlPqY3n HiNJ26rKnBtQAbXL5w661uWqb6mA1cXTctHsTzjThAvnYQEqllnH40vgQjf0Aj4U76Bu scgUPP/29HBSNol6ntshWNE8IrgVYnZe0zr3E1J6NHv5HDZdAs8LSpQNuHjAPQut5KTX vUCWy3T8hcKkF9M4UO0E8IjPnEPJRnbwRS7t0EaxDg4LjXREwxjqPl85rsxKZ25/DwB+ iyrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=RpS581QO; 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 hr21-20020a1709073f9500b006da656f2be3si1684416ejc.745.2022.03.09.08.55.09; Wed, 09 Mar 2022 08:55:32 -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=RpS581QO; 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 S234519AbiCIQg1 (ORCPT + 99 others); Wed, 9 Mar 2022 11:36:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236628AbiCIQaE (ORCPT ); Wed, 9 Mar 2022 11:30:04 -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 8DF84B91DB; Wed, 9 Mar 2022 08:23:21 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 282D51BF20B; Wed, 9 Mar 2022 16:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646842998; 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=MNTN3+AUOo9YtakiJ/J0MXG50EA6MT75Ek8TEJT/H4o=; b=RpS581QOTL+Vr+9Cpoiu+rmR6ETfKQNe9bCcFNXUVtDuwikwuTIZPUVfU5sxgrgRvce1Wv 2gZ86A7aYVg21GmLJxOPogOktWLz4F76Gi0RbfJ+tFK9pb53t9qmhkZ5WaV8CLNKkOBiyo 4OPonysmIeDFoK1nWTHhRkxYTJhYA99/Ac3YOjqJ5AlX9wIJcxe2hHOdcZ+L5T2D9OiATB VsxIH1oY0mCYZMIwkd7rQfex0MPIClND7J3L2uUwmKckag/vHWzPO8ac9R5bb2Xm4IPNew ko3nAQBiTangUmGsyJkCg1ZVtLVfT+z7iuM51GQwdVslXJnQ7A+6R5GVrtFMbw== From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/29] rtc: mpc5121: switch to RTC_FEATURE_UPDATE_INTERRUPT Date: Wed, 9 Mar 2022 17:22:36 +0100 Message-Id: <20220309162301.61679-5-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-mpc5121.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-mpc5121.c b/drivers/rtc/rtc-mpc5121.c index 6bd9779da3c6..6d7656a75cae 100644 --- a/drivers/rtc/rtc-mpc5121.c +++ b/drivers/rtc/rtc-mpc5121.c @@ -336,7 +336,7 @@ static int mpc5121_rtc_probe(struct platform_device *op) rtc->rtc->ops = &mpc5200_rtc_ops; set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->rtc->features); - rtc->rtc->uie_unsupported = 1; + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->rtc->features); rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; rtc->rtc->range_max = 65733206399ULL; /* 4052-12-31 23:59:59 */ -- 2.35.1