Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp263959pxt; Wed, 4 Aug 2021 10:29:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHUuzazLiHG9sZbFwrhcg9tvjIkAUuSYlRPwPLNKIP3KltOXHetzEgf9Sm76erSXvQpLG3 X-Received: by 2002:a5d:9d93:: with SMTP id ay19mr377787iob.114.1628098167982; Wed, 04 Aug 2021 10:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628098167; cv=none; d=google.com; s=arc-20160816; b=BP+fAdG9g4d03cJh0rPzCFyCarNNEjyNP5U/jngt5eIYd5k3+zg9gKL8RYb8Md+Sdp IV+Seo4DENTehtKpWgqpd5GX+3n8V3Q+u6sNvRx9O6JlaDsuL3jakcFhKVdNJwvnCc42 n3X9g+22HylLGNqeopo6jFMU55BHlu7/luoK2iYSsmSARNka/wV10GMo+oRITBuLdG8b M+1zvkAEaPCenCaXHZmMVMRgBnjlx43bvG6+clmKjBE6qpIGpnGBscttRFJkbgePfve9 CvisbpV8S1UxGMmOCeJTZVQIxcN/zoblCOHKFfehmPsA7tckYk3D2V/noTYDZ7B+w9h7 3oZA== 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=tMhbSJd33Y47U6GjgAsHtEsnbos4pp9tr5S63DrVWrM=; b=RT2Q/UaewubiT2bp17Unvo3slxjfMnbLBc575AMX30TVMqMEVQtjQs6noVFNwB54Ep 29urGwA/ZliEpT7fztvj7KOw3LkySgJ2F6HZNCMy3x5+Ze8ym83mxOH4VjW/vNrek4fv Ui0bj5tdCgsIR5yaggFd9KLbtOneQJKL3vT1KHn8h1vxeFxEiTWwnJFHoyoMJjgWb5FG Ngqnf7ZZoJJptMTzdI6Lj5WO0SXGgNdj+FM7BWyDPUwzgC/nuFQ45q259VJeiGdQpPgC 8F94BSf8THqaFmAXBPo2U2qNldbeORo0nIPbttvmCxUqzpIzcIbLuz3vh/CyVJRRFH6g HMzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=b2jnhCHO; 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 y7si2769685ila.59.2021.08.04.10.29.16; Wed, 04 Aug 2021 10:29:27 -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=b2jnhCHO; 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 S237830AbhHDLsp (ORCPT + 99 others); Wed, 4 Aug 2021 07:48:45 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:44772 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237816AbhHDLso (ORCPT ); Wed, 4 Aug 2021 07:48:44 -0400 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (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-1.canonical.com (Postfix) with ESMTPS id 5B0493F078 for ; Wed, 4 Aug 2021 11:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628077711; bh=tMhbSJd33Y47U6GjgAsHtEsnbos4pp9tr5S63DrVWrM=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=b2jnhCHOX9KjNPTOJLCdyttD5F1wULyw9aYwQ6fAW0MsNhc0sDjILimGvCIe0v+9x uEMSNJUP1tURr99vCLc/jA3oFO3+Nja/opRySg7Iusd9BRoiy+PqSdFqKKGjoZj7jZ sVzgUTBktCYrNUSPOzeQf92KfYRh27r15wvuFwck7jrx2oH539brEIeWTrv6fmdXyd ++/Nay5/cm253qCGz2zj/cjAgOi7iWxhOowdG8jhCGWDsV3xLMoeGH0IgyzkjNjuMJ 5i2FB+Vkh6i1ZYEA3c8jRUpyZr9W6l31iCd1rZW7+ZM2rBzq2HqvmdDX/609RDDUMP 3P9r78slj+ERg== Received: by mail-ej1-f71.google.com with SMTP id qh25-20020a170906ecb9b02905a655de6553so620199ejb.19 for ; Wed, 04 Aug 2021 04:48:31 -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=tMhbSJd33Y47U6GjgAsHtEsnbos4pp9tr5S63DrVWrM=; b=ibsc/zJXJnWM4F6QAjAjby4uZNaBFeyKz/hXa93f/1z2WF1EM7laUAVruKVl1JAy+z pyRcmRrP2FmWXLvsD1P09jqbJuSuQ5flpE5rOQ1RmSLyXwupK7CT8bAjG4nx+Ft/7kzD WBQgqkP1soNcLUq08RGoJeZM6bvHuaFY3NySxPY4DNcgZJ/RMwMNemBymfiPww3+Y9Nd P68lc3S0aeOLy0bCxdavnWkhWOlmAno6BzsFb5p6jsQq28GWZb+1BwUJtRHAjrGAk9oU ebBtVuu/fU3lhMMRWaES7Tgz51TNBUW9nCIPiC+XuLWRr7+21bwBtcnCvInDJCYpmZ3+ TXzA== X-Gm-Message-State: AOAM531n/PtmIBlgyZhECVFgLpwNPI3hfl4q+18zeYCyd2qzIKMRd3id vBWLI0MZEUxXTb6XsYvax79G4sdy4VN7WfxF2QukC/fGcIBD1Hs/QDxDZttow4aEjzzQHBkiPKE z5ELUJvDFz3resQrHILQz2NvcxcmN/HSOJzwJYQVyVw== X-Received: by 2002:a50:ce45:: with SMTP id k5mr31297891edj.168.1628077711189; Wed, 04 Aug 2021 04:48:31 -0700 (PDT) X-Received: by 2002:a50:ce45:: with SMTP id k5mr31297876edj.168.1628077711044; Wed, 04 Aug 2021 04:48:31 -0700 (PDT) Received: from [192.168.8.102] ([86.32.43.172]) by smtp.gmail.com with ESMTPSA id i14sm845463edx.30.2021.08.04.04.48.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Aug 2021 04:48:30 -0700 (PDT) Subject: Re: [PATCH 3/4] rtc: s5m: enable wakeup only when 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-3-alexandre.belloni@bootlin.com> From: Krzysztof Kozlowski Message-ID: <3dde6cbd-6822-ff49-51f5-0ab20db0c56e@canonical.com> Date: Wed, 4 Aug 2021 13:48:29 +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-3-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: > Call device_init_wakeup() only when alarms are available and the RTC is > actually able to wake up the system. > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-s5m.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof