Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp11864pxt; Wed, 4 Aug 2021 04:49:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7W5nYsuJFuY16Z+CWItcUeZTnWmmNbPpWF4yWLfqDXNghh3PmQe5UnzWnsuqI84I6Uo6B X-Received: by 2002:a92:b745:: with SMTP id c5mr466994ilm.251.1628077778968; Wed, 04 Aug 2021 04:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628077778; cv=none; d=google.com; s=arc-20160816; b=FoXcJHm+5XGNgKs+olOMW05cjc7axnNuwJUEDc9dfv8hgVl0Q40hYdyB3LATgkO9ah dywu4Du+uCfK3C75R/u38+mf+H52BzTPsynuG3CtH2waVyRqodNdUddvlL5Yokkp1+iv bimEHhoABTRGY5aZFanwArRCeAWHsY/GGXoU0CqNrz4DDgXswEzd8KXVpM8Mt1duWnDn BMDvQzwGls971LIBd3b7e1/4mar1b2PoVc8+dg/NY6x1UhAeHVdJH+BX/OnmF981XGb0 X/NU2iDnTA2HE/yoStgUwyfwEXdnOciiwKqZskHjruF+Hhk0Ska8lCLR83stcFeR2w48 WG/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=jJZp0apQcBCx/g4ztRnpqLCubJ3rAMKU3P29wXITwo4=; b=OgPdZ5iDKqwrPcvby35CokzgOn6Z36liH/MsNkAhvD3v/FO04/ea/0UxxC9u24nqsk z2g1Xqk323otxJEO+HOWQWM4/Dkmsg/tr5BOMeu/69K1VpNW5UGfQWD9qna6+V9X8MwX XrgpomKa2QdX8e3uo35aOm6kUM8I0qaBg0W2FgskbNWa+mXufEQAOqUWW5QjzUe85xrQ vPhfp/uwNOgpyZWToyqk5o9Y86BuIlTJ5gxazaYuDYUkR8hPJKeHvvwsDcste3H1MB9/ ZOWDr2FGiRlLWLv+78kv1t0iQabSKS6rPdHIOYsq3FLwg3td4Y8miiZeoO8QHzzC/YLH DDTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=mcjrB++C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si2160972jad.82.2021.08.04.04.49.26; Wed, 04 Aug 2021 04:49:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=mcjrB++C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237814AbhHDLs3 (ORCPT + 99 others); Wed, 4 Aug 2021 07:48:29 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:47758 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237816AbhHDLs1 (ORCPT ); Wed, 4 Aug 2021 07:48:27 -0400 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id A07963F34D for ; Wed, 4 Aug 2021 11:48:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628077694; bh=jJZp0apQcBCx/g4ztRnpqLCubJ3rAMKU3P29wXITwo4=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=mcjrB++CfM5OmLg8sm9u86i1pEUkDXaHuDKmnO1mJZc8pjhsgr46KbYNJMX46Ruv7 8xrTyTBlHdo4rZBTQVbMCxC+KPXvaH1r9IUbEWP8HBV2QvguI4xm81THV23gWqUEx3 VcbsiEd47zz4z7ttQv2Mv7vCnlFA3i4mWQFARX5WLTrAG5OBRqoPfUZmlaQoiGeYyt lqe0cdDz2gTddH1CsZy9CARouQ5KO+YAqz5CJJeuxUtcFsOV8yuHPRiXgai/sbrXjB kt3KAD5td8JkCN8gwl8U+m/VttR9x9GBaLcYCwxLDY7TwQ2eo/X0qXE4lCxgUy8Erx vfN6w6VdtIy9Q== Received: by mail-ed1-f72.google.com with SMTP id d12-20020a50fe8c0000b02903a4b519b413so1322626edt.9 for ; Wed, 04 Aug 2021 04:48:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jJZp0apQcBCx/g4ztRnpqLCubJ3rAMKU3P29wXITwo4=; b=mKP6zYlb3vhjqmv6oRZ+PYkdsmhJFdtU65jZJJByxoGDi0TKIv0mBl8kew+cOVZw2Q y7BtfElUR5xymE9+6NKQQauoUx8w5c+pjlIxTo6ad/Q8tJjmjZIG5N/xIsKbd0QJKY9U v+Iic4fJ3PZ8sHR+Hu0rZYjlqpIxgFZXL2JcgZxlkRcqC94aO6KnWaizataB5uCItq3b uCwrZKHhcjOl5YVV2IDqpWkOKsIvMT4rwPv7yZzJ97hkIPhcK/TgPiXKOTwlTf5/3Tka 4Q/4JGZd0KTYEJA9QabCmBXVC7DSaUFkaJUCb1EnQPVwc5oOC21QAqtlbRw85gJ3IZ5s MOWg== X-Gm-Message-State: AOAM530nzeTNiMUcrCN4AyZGX6QXVjqNA4pwaz2U+4X4NVAYzj7JeP91 zM9IQAutypoB/1HiaKeuhi8+91rSeXlnP1jnMZo+7diXEimbW0fupgYU/3t9pFslGLGRf/yMplM ogZB1aXZ5LmkdyRrmjB0x7cAeh7VJZbSxZF/FAciQTw== X-Received: by 2002:a05:6402:22b0:: with SMTP id cx16mr31583199edb.185.1628077694159; Wed, 04 Aug 2021 04:48:14 -0700 (PDT) X-Received: by 2002:a05:6402:22b0:: with SMTP id cx16mr31583179edb.185.1628077693893; Wed, 04 Aug 2021 04:48:13 -0700 (PDT) Received: from [192.168.8.102] ([86.32.43.172]) by smtp.gmail.com with ESMTPSA id oz31sm605961ejb.54.2021.08.04.04.48.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Aug 2021 04:48:13 -0700 (PDT) Subject: Re: [PATCH 2/4] rtc: s5m: signal the core when alarm are not available To: Alexandre Belloni , Alessandro Zummo , Bartlomiej Zolnierkiewicz Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org References: <20210804104133.5158-1-alexandre.belloni@bootlin.com> <20210804104133.5158-2-alexandre.belloni@bootlin.com> From: Krzysztof Kozlowski Message-ID: <67383f05-4bb9-23ea-662b-28a2cc24c7c7@canonical.com> Date: Wed, 4 Aug 2021 13:48:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210804104133.5158-2-alexandre.belloni@bootlin.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/08/2021 12:41, Alexandre Belloni wrote: > Clear the RTC_FEATURE_ALARM bit to signal to the core when alarms are not > available to ensure the alarm callbacks are never called and userspace is > aware alarms are not supported. > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-s5m.c | 27 +++++++++++---------------- > 1 file changed, 11 insertions(+), 16 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof