Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp601859pxp; Wed, 9 Mar 2022 08:55:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiiu77M8Y9ZMc27SLYhDRzgi9BBEe0UUL/oPB3HlGpb3pn5uffM6P/QnxhQqOcZoJzJ+Xq X-Received: by 2002:aa7:c80b:0:b0:416:463c:309c with SMTP id a11-20020aa7c80b000000b00416463c309cmr328300edt.413.1646844953494; Wed, 09 Mar 2022 08:55:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646844953; cv=none; d=google.com; s=arc-20160816; b=R0yr1YFlyUWNXxLCxOLtI3l21b/1N85KUcETFsoD0gBqJFJS8DCRNDJJSGWAH2TpIb YNFOKud67BHrmEVWq95ZsYRF6Lvk8AH1UFLqWkl09qaTZtVP63lwODV4XOMZqis/QlQl 2n+tJh14xytIsW1aYvcbGBqs9VrZrkLNfhYD8EXEFWCjMhR2IGYKOTXOf+wKu8+dUuKT Q1jmAJMdTtA7NYrYsI3Td72XJtHRU5RBD/q1TjCrviDTsyjjNbKkQIuk2wmX0mC3P7Bc tL7OaMhljctevHFwjRi7z60FhJnCi2sQMYqEXQUlcyvoilOnvj4jsZItOwtI9+qaFlSy 7mgg== 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=kAFhyrjp5VycTxXaHMiU9XiKXpAImKksYhJ4bWcA3hQ=; b=eySnZN+gqnHNPp7jCMz/zcsPzkKvjIRjtv7NnGDeG1zvo0UdxnKbBIrq0T3I/DR+I3 0kuVXOcflVszlcnM3FkLVOYQlf2CSj4doxp8J8RWWg+fqJ1JBUfElIWIwHCCsi2Gzrmf OMJfnfQcYiLQLuT9MzpGrDnyD0XqDnX6dppqsyel32KhxWmjL8WwlZFzkUQE6Y8irJga dBlu/qIqM95tSOof0v6Z/tUEVz3z6q6S4tXj/kf1sDZBGff91flwYANNKORwoUgIrBgs jOcynuRxQXiDyC+GM3jUnSXTYYuu/cMoOtvMF9IjzhWhKaSGA+MCN0JhkeROPagJ/YZ1 ZTSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FAN5Dt83; 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 re25-20020a170906d8d900b006db5717220esi1482458ejb.633.2022.03.09.08.55.30; Wed, 09 Mar 2022 08:55:53 -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=FAN5Dt83; 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 S234563AbiCIQhB (ORCPT + 99 others); Wed, 9 Mar 2022 11:37:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236703AbiCIQaJ (ORCPT ); Wed, 9 Mar 2022 11:30:09 -0500 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [IPv6:2001:4b98:dc4:8::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79AF8CEA16; Wed, 9 Mar 2022 08:23:29 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id AE231240005; Wed, 9 Mar 2022 16:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646843003; 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=kAFhyrjp5VycTxXaHMiU9XiKXpAImKksYhJ4bWcA3hQ=; b=FAN5Dt83CTz4LwVRzoe/n8NunPj20COLtI6tzXNAwmW0lkeh0karwt+wGPnMuAQDXXvFmw oUnHellS+DpbzLcWuhbd7Nrr4fM4QgI9+LqL71/9FUSBBnXsNBSW83J+N/B95B23RTUO6l iQ+lLE1pvHrVLo0Q03clULY4YRRTWPkMeU0vkj51IJBnVhg+EHQvdPnlMmympJopxbYqcZ UdvKNguOKHrZzqV8J4+g7cfff8GsNeCYdvZqhJg2cS90shJfpMdxGpPokSFdExW2tJ22X+ HddrAqSgwpDF1/b9iXRGN44bKDgdDBpxGn3JllmxyFKJw8ve7PDykBihKqlZsw== From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/29] rtc: pcf2127: switch to RTC_FEATURE_UPDATE_INTERRUPT Date: Wed, 9 Mar 2022 17:22:41 +0100 Message-Id: <20220309162301.61679-10-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,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-pcf2127.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pcf2127.c b/drivers/rtc/rtc-pcf2127.c index eae9ecbc7fb5..f8469b134411 100644 --- a/drivers/rtc/rtc-pcf2127.c +++ b/drivers/rtc/rtc-pcf2127.c @@ -656,7 +656,7 @@ static int pcf2127_probe(struct device *dev, struct regmap *regmap, pcf2127->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; pcf2127->rtc->range_max = RTC_TIMESTAMP_END_2099; pcf2127->rtc->set_start_time = true; /* Sets actual start to 1970 */ - pcf2127->rtc->uie_unsupported = 1; + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, pcf2127->rtc->features); clear_bit(RTC_FEATURE_ALARM, pcf2127->rtc->features); if (alarm_irq > 0) { -- 2.35.1