Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp601371pxp; Wed, 9 Mar 2022 08:55:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7fhVGi5Di55XQ7he2t/+l6aTTUS6xcWXJMX39gz9mcP5GHYYrOjjqbnseTVIaD9iYtmxD X-Received: by 2002:a17:902:bc83:b0:149:b26a:b9c8 with SMTP id bb3-20020a170902bc8300b00149b26ab9c8mr310679plb.143.1646844919089; Wed, 09 Mar 2022 08:55:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646844919; cv=none; d=google.com; s=arc-20160816; b=zkmYO+JGGktGM9lQ9DOSNtgWVkqJU+sM9LNvfW2eWH5SAxkwESOONvLHbjRMm8Wcth 6vzB7qqsILUN0K49KvKsBBL280qsVSm8F8N+0ZMYEOIm0hTNPsvAhN9SuygZjHbiXeGJ 5nvUgVJj1GbOZ5KDu7O1/4ZGtpch/FVROzeRzh3Df2yWnOgfYjYPskIt7H8W+3jBhFJJ FANzPH+xgMqf6c4MpGYBaPdMwYccH+D6yI+wlB6dg++scmIL9PRq92QvE1KPy478XC45 3pXcTRs31duslVoDNee8TnSNMoa5l0eQeAbcKwapmzeirq3NZ3/JE+7k/Lp85oK2U+8n jYwg== 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=mjKxC/kEurfp4S2xChG2/x2RBeO/yBKp4HZZXE2h9gg=; b=tCFv3sjI3bUwTXsrLsezWIfLrhPKOHeyIrQkSZ9/v7wHwU2UtxRuGGQ3tQiYHXhFmn QMoTd9JpfgiM7w3La+IGpRBfPzwPDmRgOGnn+oG2ch2vSKTKEDxJpwdD9O1qmdtjL5AC By2zdIF4YU3Wbh908p6fhiXEVi1LTnyb03poOrU4UI0nTPATUKvLG4G5vnPllLY1i/M4 a69YJCa/yKVqsWtNWMiCns/x0zD38AnGIO8FFJZmwkK0BeYp86ZMmONfEUamylCzcNEJ L5EcD+CeaRT1xTbJiaTrFO/9j7iHQOjUkkVyRstOA8HV8L9wex2dwVBaQYesz/lOaKwS rK0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lqMrE7Ln; 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 x24-20020a170902b41800b0014f12d5198bsi2278280plr.393.2022.03.09.08.55.01; Wed, 09 Mar 2022 08:55:19 -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=lqMrE7Ln; 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 S236522AbiCIQfy (ORCPT + 99 others); Wed, 9 Mar 2022 11:35:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236649AbiCIQaG (ORCPT ); Wed, 9 Mar 2022 11:30:06 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B19CC1154; Wed, 9 Mar 2022 08:23:23 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D4D2A40005; Wed, 9 Mar 2022 16:23:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646843001; 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=mjKxC/kEurfp4S2xChG2/x2RBeO/yBKp4HZZXE2h9gg=; b=lqMrE7Ln2IQvWzVGzL4Xbzp2A/QaqEjKH6igU0H3FRipUvvYwtK49WGHwOIIJGHwiCSosT ZCKZc9cVVVLgXd4+VGvsT2fYUocKU8wL03zCfTinXL8lhct1A0CEJ684oeLwS3AkfiZlMt QT8/IJCne2FO/Tmu9mIwziuIX2CxRb9hgBIi73Pg0TuXfaL+D/S48cx6aINAXSyN5kj3o7 EPNZTfay3XtcJdR2AYcL8p/o4zA+FtaHxjhT0oA9q2KqNqbqkCKWlCdeYeV+Jb3EPJWFEV 55tWobElvrLCWg/GZyaPmfDYgf7FSGWmA8UvSQCKNx6YW/au0h7ye/5coRHrKQ== From: Alexandre Belloni To: Alessandro Zummo , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/29] rtc: opal: switch to RTC_FEATURE_UPDATE_INTERRUPT Date: Wed, 9 Mar 2022 17:22:38 +0100 Message-Id: <20220309162301.61679-7-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_H3,RCVD_IN_MSPIKE_WL,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-opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-opal.c b/drivers/rtc/rtc-opal.c index f8f49a969c23..ad41aaf8a17f 100644 --- a/drivers/rtc/rtc-opal.c +++ b/drivers/rtc/rtc-opal.c @@ -250,7 +250,7 @@ static int opal_rtc_probe(struct platform_device *pdev) rtc->ops = &opal_rtc_ops; rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; rtc->range_max = RTC_TIMESTAMP_END_9999; - rtc->uie_unsupported = 1; + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features); return devm_rtc_register_device(rtc); } -- 2.35.1