Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1659041imm; Thu, 18 Oct 2018 01:53:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV60rMh8e4kfuqz2xQrgsOq4B3a27kgFx+YnhFZHYn1jd+VoLBnVyHrXZqcPjHVZa4i7BisUd X-Received: by 2002:a63:5e01:: with SMTP id s1-v6mr27199387pgb.92.1539852807644; Thu, 18 Oct 2018 01:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539852807; cv=none; d=google.com; s=arc-20160816; b=ubE7Ag9s1Bu4A7uu0IDWvSNHAzDvNCVzVKMfqjXJ6O4L5qlcEFD1hT5fbnmy2+nHy0 dfmDlR7pu/mTvwG0EWiKMznLqvp7/4rbsDTkEzOpUeq6spzBBRt1CaQg5fAeZTgAQUgU KAZO/blaQXlsA7/rvHY7j6cXRrEbY4U7yXi/0Anr3QfVwUcT+nVxLE6KKkqZdFG2lE51 aucGVqxRs2xMbtA7336RvGYWLR7axj30K2bGMCfG6lNvhG3FQPdfEaC4Wt3QzkFygbRq hG5lSAXCgqxwpU7W7hEq++RJM/c9cQC+H52ZvMTBJVfgvE/Stsj4bidYE0ADG8UG4cbn JXjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=UoDp5ziy2YWPuhFFinrp1ys3HavPewk+G/9nhItihJc=; b=W6k7m40kVA2ZPf4z4Ek+e2mXGRa8z8Qo+E2Pkaz0uJkV229tKI+wUNyOcyibFOk11x fexdyovFNpNVVBfjJANtzwjrQe+JRi7R8OemzTPLxqLq2Olx1cCgLdnZVgMW/bzxlSJe EcPJYxCFbpM88Xn6PJq2LeMj2YVJW/V2TqMgjlBg8hVgRWG+P3SPm6JoLSSmWOVNSkNn 3eicW6JobN3PCMfAfN+Nj8veFG91t3LOh1hofz1EL7AWbiUQHpJXJP6K2GjOdNuqMw9L LSlja8yi5mqo98rv5cXklhZPp1O0U9WuK37gw9HiB+8JZ+uDZNIIO7mNf36w9n0uOmMH t5Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jjYGfAb5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d66-v6si20715826pfc.250.2018.10.18.01.53.12; Thu, 18 Oct 2018 01:53:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jjYGfAb5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727801AbeJRQwm (ORCPT + 99 others); Thu, 18 Oct 2018 12:52:42 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:36095 "EHLO mail-pl1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727541AbeJRQwl (ORCPT ); Thu, 18 Oct 2018 12:52:41 -0400 Received: by mail-pl1-f182.google.com with SMTP id y11-v6so14015749plt.3 for ; Thu, 18 Oct 2018 01:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=UoDp5ziy2YWPuhFFinrp1ys3HavPewk+G/9nhItihJc=; b=jjYGfAb55aQik4JFruYVKGfYyJG/s9lRHsScYM+teMMyLvY4nQLn5zlq76y/dIEz3D MREzjuXrEZDVYraNW2rEz+AdMsWDZAYcJeYS/fGqKQsOo7UoYbdeW8Op/paqdrZhjTq9 cFcbtYYToKt/CrzwaZRonFOlIqnxV45DH396g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UoDp5ziy2YWPuhFFinrp1ys3HavPewk+G/9nhItihJc=; b=WFltow1JLZ0UoQNMusChpCJtE7ADRykhg09lc50tUEF7b3TtG07BtowQgKQyYIXgry KOVSvxooJolnORarsd0n/aJj7oO5LlNwCawGdYFOU5prVxRPkbgL6RZRxCjBaYeZRAC6 q+HB0oXOeR/IiS/M2LIJ4KLijKjQEMg0DrJ1p5HrlNNjIEgFlKgmD4Wyb/NC43NQzWJn AZI1LfwVOiRoePPW3ILs3HOpRSzS/pMzPOxxKdD60EulvvfUEAwv9XJWv/9figPuyhJt TYl7f0dj8/z2JPBEfVbuTrni9G+utVcxM/r+Ff5ZPWRAWpq2wOU9Sd2+mh3Uf+Zv8wpc X8SQ== X-Gm-Message-State: ABuFfoi9l8lijg89uIkZh2i7eN2ewUZ75SclwGMNr3hpgoZThq86GLyj hdaw/DsPM0hHZpr3VXArsypZ3Q== X-Received: by 2002:a17:902:6b46:: with SMTP id g6-v6mr28318794plt.19.1539852763205; Thu, 18 Oct 2018 01:52:43 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id x186-v6sm18467528pfb.125.2018.10.18.01.52.40 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Oct 2018 01:52:42 -0700 (PDT) From: Baolin Wang To: a.zummo@towertech.it, alexandre.belloni@bootlin.com Cc: broonie@kernel.org, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, baolin.wang@linaro.org Subject: [PATCH 0/5] Fix some issues for RTC alarm function Date: Thu, 18 Oct 2018 16:52:25 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set fixes some issues when setting one RTC alarm. Baolin Wang (5): rtc: sc27xx: Set wakeup capability before registering rtc device rtc: sc27xx: Clear SPG value update interrupt status rtc: sc27xx: Remove interrupts disable and clear in probe() rtc: sc27xx: Add check to see if need to enable the alarm interrupt rtc: sc27xx: Always read normal alarm when registering RTC device drivers/rtc/rtc-sc27xx.c | 60 ++++++++++++++++++++++++++++++---------------- 1 file changed, 40 insertions(+), 20 deletions(-) -- 1.7.9.5