Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3470591imu; Sun, 11 Nov 2018 15:51:26 -0800 (PST) X-Google-Smtp-Source: AJdET5cvn3vunxQ7lvWmYPLlAGTbKnnyYYWGMOaasBjyh8RzSHiuLJxGEG/XTb1ALGWQozOfEFVS X-Received: by 2002:a63:801:: with SMTP id 1mr15253935pgi.275.1541980286164; Sun, 11 Nov 2018 15:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541980286; cv=none; d=google.com; s=arc-20160816; b=F5xXlVhaEBAWRoJa6Z3MEcZJv51BmGoCFQeKM54PQUBGXMyRHnUIM6NHB/uW9hn6yM r1EekBJKolP6Kiclx3HrQRR5cJ6sjw2cV+PSNvmc8yuLpA7ortylaKFUuRNjTwOkqfBG jHpd6+BNJvZbd4txZA4MMeEuYL2rthgxTEgLUb5pO7qTMW0RmxPp5Q6Tn7hFY7/uzKmU Zy+ASA/q8tiXwf4ML+MNE4KtRV8fDLmAAlDXjDcewvzyC2ijTeNj/tEYkfLB0VTW053N izyPX5OwZfZKVv6dVgDe/FsG5bld77Ty6EAsXh2dCBJLRqPQZHghqT9GCFyW5AIHQea9 +Y1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=w5AyY6AzQCWeXQj0Ed5cvpt3BFL1bUyhKo2b3ZOGbQg=; b=KUHksQMUtM+x1Su0TgLnEGFoDc0/nrmwWg0MOc9FO4FQvZhWACRRUuvPhaoW1c64Yf XXH40HaMLufrVZGKLWfCraN8J8LuFa2H5ZdBDYEtNLr8KZgPx0vjZUgeRh+dDYWgeVOx JZwd75y5WYgasvVwN0qA/CJyGlO2XLhCMryKB2n1ilbjf7+WU2YYGAQymv9OdRwXEI9v Nj34OR2D7oTyL+yYLj8fNxByOQlcS6fYUXFq0PI2MQV3Qz2NdoCoBpOrpDIybf/BV3b/ GViXdzh3na6nWtqPRgLVOl1I4agj+DWoHbxD7nJ9rjYpZFR9+kQ2Nta54ovlfTgpRS+6 +j1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RWVMTSiC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e129si14523208pgc.333.2018.11.11.15.51.11; Sun, 11 Nov 2018 15:51:26 -0800 (PST) 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=@kernel.org header.s=default header.b=RWVMTSiC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733003AbeKLISi (ORCPT + 99 others); Mon, 12 Nov 2018 03:18:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:37584 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732974AbeKLISh (ORCPT ); Mon, 12 Nov 2018 03:18:37 -0500 Received: from localhost (unknown [206.108.79.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4402A2241B; Sun, 11 Nov 2018 22:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975321; bh=uVLdBzvj4xuzI+JHOiU1Qcq5gZUb/7mk6WWN2Z6xN8g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RWVMTSiCPO5a0KAa4ouiZ1f0Ou19rvzihe60iHXVxrx6ahJjl7Y6CLvPt1WdJGjyu jP4ciOMgE/XK05c8DeU/JeQNDdaBY721PJnF8ScxO5+doso8mp3ok0hL0YhVULFvu+ 3+jNKUXe2OOpVEUGptzvYwZKXz4Ht5fsa2132Ak8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Soeren Moch , Alexandre Belloni Subject: [PATCH 4.19 285/361] rtc: ds1307: fix ds1339 wakealarm support Date: Sun, 11 Nov 2018 14:20:32 -0800 Message-Id: <20181111221656.219055615@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221619.915519183@linuxfoundation.org> References: <20181111221619.915519183@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Soeren Moch commit 7dceef78f310f5351735060d78a1777c69606016 upstream. Commit 51ed73eb998a1c79a2b0e9bed68f75a8a2c93b9b ("rtc: ds1340: Add support for trickle charger.") breaks ds1339 wakealarm support by limiting accessible registers. Fix this. Fixes: 51ed73eb998a ("rtc: ds1340: Add support for trickle charger.") Cc: stable@vger.kernel.org Signed-off-by: Soeren Moch Signed-off-by: Alexandre Belloni Signed-off-by: Greg Kroah-Hartman --- drivers/rtc/rtc-ds1307.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c @@ -1384,7 +1384,6 @@ static void ds1307_clks_register(struct static const struct regmap_config regmap_config = { .reg_bits = 8, .val_bits = 8, - .max_register = 0x9, }; static int ds1307_probe(struct i2c_client *client,