Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1252655rwb; Wed, 16 Nov 2022 14:39:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf5exmdwfF03x9WHfhz6o95k2q4gQq/6Kd7se4IfPB+bTTyyS5qZbJD0/lhFXYv1JcuyDw8x X-Received: by 2002:aa7:c607:0:b0:468:56c3:7c8 with SMTP id h7-20020aa7c607000000b0046856c307c8mr7363440edq.109.1668638344997; Wed, 16 Nov 2022 14:39:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668638344; cv=none; d=google.com; s=arc-20160816; b=F4uk7R/J3wQ7+AP878q+hjmXGp9H98piXhVaPRmz++BhV6zzZpe0vHaHqOmGMeHzmw ZnZhDa+FW4aovyv64wv3vvje/vIqo4KaO+Z3DUxj/2OPGo9qUsi03+dEd9NAtH9Vjj6M SLEwh7z+ihoOalh+iBpaPsQryfQ1ob0t35jAAlHeA4hnorPnxQc7l+DnM16cpc2OLutL Kc5g5aMB7I+7d/FTvHmzmkmPhqoBpkT1bkCEqgnJ0tpZ7CknJh8REyGK3l0WvpDyy+Dh x7k56UMDAOhF6l0ufWpZlW/Sa9o/Ekzdv5ny16K6825HPdDvu74qSEdkBZpg9x89ySx9 fx2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HbsJ+Y08EQLASOdtyUuuzbvV1Ei3Wpv7tnXwmPZNGP8=; b=NApJRfwhW2jyupQSPspQ5j8f8b13xegHWXMEJQbLFrzv/enaYra9A/cKnvdsRryFwl HcpO56u1c89SNYpyohjkLvAOR53RmzgTRTYaiK9+xiWXq2jnj3mIUrZ8nIcqX6JUjkXg iU9Y/lJwMlMUYSSSlBcWERK5ZKdpZxorX0R9RE/yfweEo6WKxsTCjObWHlVvdfcadXjU dOA4jO40AxaPFCETlgu6vfLGlyA8GBZ/UQbo1j9uh5Ev1e2xFfhdeHRM5OMQ/3A7KHSM 0ALLUL/XCH2leDWOpl6RphNBIzKp7B51r8nXYZAT6QXagc3qNTtzKTlcbXxCj9i9Tmhg s9EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=bSvBBzui; 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 m13-20020a50930d000000b0045cea9cf231si15394280eda.566.2022.11.16.14.38.43; Wed, 16 Nov 2022 14:39:04 -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=bSvBBzui; 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 S238735AbiKPWOF (ORCPT + 90 others); Wed, 16 Nov 2022 17:14:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238665AbiKPWNq (ORCPT ); Wed, 16 Nov 2022 17:13:46 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1081F24080; Wed, 16 Nov 2022 14:13:43 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id A6EB6100004; Wed, 16 Nov 2022 22:13:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668636822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HbsJ+Y08EQLASOdtyUuuzbvV1Ei3Wpv7tnXwmPZNGP8=; b=bSvBBzuizOa9e+soJ3rOHJjqMKnQRexFw8pyqST2Lqk+wL39xGKdFEwdO/v8IiNdkM/oWK ga1XBaBIWxx5oL6m9tIedWSaKkTwew9CVosQLA0mfPWZsBVSa1tV3lSoDTZ83mFVxynP+Q xM5P4xDhE674nWwkiFFJkKh2fx/VCF1jfUr7TW7cA7xS4x23CnBfF0YKMcZ/NzjL21m0gh eXzkFtszS12DBTQFvZ07Fi2EpoDy0gRsV6DpXwEto/ZHdZcOSHR2Xf/pbMOXuMcWEZEPE7 pFnHBhDGnn+2XkIqXa2rZzEI52bVnWJRy0OBnWBYEwGU2HcX6gKVdD9OAvWhYw== Date: Wed, 16 Nov 2022 23:13:41 +0100 From: Alexandre Belloni To: Vincent Whitchurch , Alessandro Zummo Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@axis.com Subject: Re: [PATCH] rtc: pcf8563: clear RTC_FEATURE_ALARM if no irq Message-ID: <166863678725.2504087.10277347266415780715.b4-ty@bootlin.com> References: <20220301131220.4011810-1-vincent.whitchurch@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220301131220.4011810-1-vincent.whitchurch@axis.com> 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 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 On Tue, 1 Mar 2022 14:12:20 +0100, Vincent Whitchurch wrote: > If there is no IRQ hooked up, clear RTC_FEATURE_ALARM to make the core > ensure that userspace is made aware that alarms are not supported. > > Applied, thanks! [1/1] rtc: pcf8563: clear RTC_FEATURE_ALARM if no irq commit: 60cfac17d0a1c28cd41959e95ba1e0ecc47165e7 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com