Message ID | DB4PR06MB2537EC6DC587FBA458D09FAD0120@DB4PR06MB253.eurprd06.prod.outlook.com |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <rtc-linux+bncBAABB2OVYW6QKGQEYLGNFVY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pf0-x23e.google.com (mail-pf0-x23e.google.com [IPv6:2607:f8b0:400e:c00::23e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sCRTn0hxfz9t1G for <incoming@patchwork.ozlabs.org>; Mon, 15 Aug 2016 17:10:36 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b=cwPJBcRe; dkim-atps=neutral Received: by mail-pf0-x23e.google.com with SMTP id i6sf9486060pfe.0 for <incoming@patchwork.ozlabs.org>; Mon, 15 Aug 2016 00:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :spamdiagnosticoutput:spamdiagnosticmetadata :content-transfer-encoding:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=FYudOLMKaKU5iAooC8V1M39SoajX5mHIYo/BntvLsrg=; b=cwPJBcRet/wZ6e4XkH5cM5BNFynrHzEpH9/4ArM7Y7s1Gws8UzGs2T7Qn4u7BEh82+ EadabXu9KxhMkqIWemplHE1YXf9AXAfxGmVZCcroLTGwzsUWU+lDlq6Di1GoYB2HY1wM R65DXUVDKLy7twunVqdyt00cIhuvnRLStz641fBrMnYcHK1vuGFUKjCwh/AN7lh9dgyR ERbQNfRIGS82bRMJcXKy7Pi+v2oGy78UHcKjYtiYkx1KLoUakkYIlCEHASdMJsA7VN12 Ps+7IdSJw25YjwrN6BPlAPvCVyfBbboHlSZLBUoSTj9Jk3zvjIA2LL90ZkSLqnYFu2QS R3lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:from:to:cc:subject:thread-topic :thread-index:date:message-id:references:in-reply-to:accept-language :content-language:spamdiagnosticoutput:spamdiagnosticmetadata :content-transfer-encoding:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=FYudOLMKaKU5iAooC8V1M39SoajX5mHIYo/BntvLsrg=; b=LrbkwKZWXBvmBawN60zHxkBG4AyXpHc8wutgnH/d704K0X2Mw5lZKlOGjlOokzsifq lh11ryKLcQtfs+nWpcRtrxNbBYV26VEizcr/lUQu1YjGxrs0pZH+SgZ0doUlDB5XQJ+Q O73tqE0ExTBWcFjX9nUPKIUp0RRMiUmnwKG6KByUNEzySUEgkMIg2OAyNacCxiWCk1Gx EaHRuApMJGu/qzemdERAalOXsPgV3wbeMGKN8WirbekEbACDyUXkeB3TeRNzqJmddXmy fE1EcMdA0kg9PfghQ2nDpo1FLdPQUP7yOypdx9woYsYpgvuE+yPVy725fCz+MS6/GM2g rMZA== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: AEkoout+6u80BQxxhEwh4gh8r+R9tb+zboHo3eTICxa5/2syNF1xTZmLm1sZVqRfZ2xu2g== X-Received: by 10.36.237.193 with SMTP id r184mr32093ith.2.1471245034631; Mon, 15 Aug 2016 00:10:34 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.107.28.145 with SMTP id c139ls2663688ioc.33.gmail; Mon, 15 Aug 2016 00:10:33 -0700 (PDT) X-Received: by 10.36.37.139 with SMTP id g133mr8765476itg.0.1471245033063; Mon, 15 Aug 2016 00:10:33 -0700 (PDT) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0044.outbound.protection.outlook.com. [104.47.1.44]) by gmr-mx.google.com with ESMTPS id ph9si2106674pac.1.2016.08.15.00.10.31 for <rtc-linux@googlegroups.com> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Aug 2016 00:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of jao@hms.se designates 104.47.1.44 as permitted sender) client-ip=104.47.1.44; Received: from DB4PR06MB253.eurprd06.prod.outlook.com (10.242.192.12) by DB6PR0601MB2725.eurprd06.prod.outlook.com (10.168.82.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.557.21; Mon, 15 Aug 2016 07:10:27 +0000 Received: from DB4PR06MB253.eurprd06.prod.outlook.com ([10.242.192.12]) by DB4PR06MB253.eurprd06.prod.outlook.com ([10.242.192.12]) with mapi id 15.01.0549.025; Mon, 15 Aug 2016 07:10:27 +0000 From: =?utf-8?B?SmFuIMOWc3RsdW5k?= <jao@hms.se> To: Daniel Romell <danielromell@gmail.com>, "a.zummo@towertech.it" <a.zummo@towertech.it> CC: "alexandre.belloni@free-electrons.com" <alexandre.belloni@free-electrons.com>, "rtc-linux@googlegroups.com" <rtc-linux@googlegroups.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Daniel Romell <Daro@hms.se>, Magnus Olsson <Mago@hms.se> Subject: [rtc-linux] RE: [PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes' register. Thread-Topic: [PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes' register. Thread-Index: AQHR88QCGdccTzvQY02FB8rZwbDppaBJoKFg Date: Mon, 15 Aug 2016 07:10:27 +0000 Message-ID: <DB4PR06MB2537EC6DC587FBA458D09FAD0120@DB4PR06MB253.eurprd06.prod.outlook.com> References: <1470909555-9226-1-git-send-email-daro@hms.se> <1470915104-10683-2-git-send-email-daro@hms.se> In-Reply-To: <1470915104-10683-2-git-send-email-daro@hms.se> Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [88.131.56.168] x-ms-office365-filtering-correlation-id: c3ca0623-3cd9-4b6d-d7a7-08d3c4db3c52 x-microsoft-exchange-diagnostics: 1; DB6PR0601MB2725; 6:aybCpNHZsEerPS1kS12ihLP0ELlke8CMKsx3LmXrXthiiYbbxar/RDz1HsyNbwKjqoZ28cvnf/lBRFRQDEqwYF0VsIAWxIJKNNe5bWsPTqczqJtJyqcf4Mijlb0lztLHNP/58gM8yc6dAFuPf5hBOQyYpiQWepwFsojuNng1J1CLj9nFmhOTRtyZfMcUxxyQc2AJHoKNFiXtsym5ZYGG1GsR7Qx0ZPzf3tu/E7FW9Wwlh7g2wyVE2FEGBaK/mTIGh2GTWGSQgS4oiRsUfQAZ5ClGsjkD3bSAfSqh+rhpCKS8lrMoB3dIxo9tZDg1gwgw; 5:ExNbIP/kM1IQGCJq7wQNAQfGOS9se4Ge+9wtcmtduXRmQpmBjYEYVQ3KJDA1Hd5lOO67lBzFgkQstpl9qZnVeFNKQa+y1QRa+hYARhp0tAgHA7cCU0Ihp6RY+4WUeaswEddz+JBxTiDUWxsnK/bYqQ==; 24:Xbs08pMV+YqEjo9WJr8yRb781AycSid8ptTiHuuF7DrLp1AoYLFp3u0vjpA8DX26sdRfpmTSgxooE/M5l1dlc77QMSxwiB0jD2IjKPpYqbQ=; 7:q6VlCvwqNvVUuug2WS4opR1OdkZrVNFWTAST6YUM86rRjmanfIP9PISTzgPsNVAjVVCFP46YpOUTxkzYlRq8b5sUm0e33m/HclpCxP7pOHtwZlUohGKDj350kJdQ2Vhz8Uv/8hmYL9Y1WDZlH5g/Ef+M7KaKXNdtw8G2DhrnyErtZEetNmN52EHGqL7HyANXeXlI6TvQPE9vflwks5m8z/oHkkXdnOsxf2Q/K0TrzJYwSuxDwizKIKffXXOBl9Mu x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0601MB2725; x-microsoft-antispam-prvs: <DB6PR0601MB27251B2A7F5160BDA7B330F7D0120@DB6PR0601MB2725.eurprd06.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(215639381216008)(9452136761055)(58145275503218); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6043046)(6042046); SRVR:DB6PR0601MB2725; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0601MB2725; x-forefront-prvs: 0035B15214 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(13464003)(189002)(105586002)(85202003)(68736007)(86362001)(7846002)(2906002)(74316002)(575784001)(106356001)(5002640100001)(92566002)(122556002)(6116002)(586003)(102836003)(2501003)(11100500001)(189998001)(74482002)(5001770100001)(101416001)(77096005)(106116001)(4326007)(10400500002)(97736004)(3846002)(8936002)(81166006)(76576001)(3660700001)(87936001)(81156014)(19580405001)(19580395003)(85182001)(2900100001)(2950100001)(76176999)(8676002)(54356999)(9686002)(3280700002)(305945005)(50986999)(7696003)(7736002)(66066001)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0601MB2725; H:DB4PR06MB253.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: hms.se does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hms.se X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2016 07:10:27.6664 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5c7c1590-4488-4e42-bc9c-15218f8ac994 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0601MB2725 X-Original-Sender: jao@hms.se X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@hms365.onmicrosoft.com; spf=pass (google.com: domain of jao@hms.se designates 104.47.1.44 as permitted sender) smtp.mailfrom=jao@hms.se Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: <https://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <https://groups.google.com/group/rtc-linux List-Subscribe: <https://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com>, <https://groups.google.com/group/rtc-linux/subscribe> |
diff --git a/drivers/rtc/rtc-bq32k.c b/drivers/rtc/rtc-bq32k.c index 0299988..5a0c137 100644 --- a/drivers/rtc/rtc-bq32k.c +++ b/drivers/rtc/rtc-bq32k.c @@ -94,7 +94,7 @@ static int bq32k_rtc_read_time(struct device *dev, struct rtc_time *tm) return error; tm->tm_sec = bcd2bin(regs.seconds & BQ32K_SECONDS_MASK); - tm->tm_min = bcd2bin(regs.minutes & BQ32K_SECONDS_MASK); + tm->tm_min = bcd2bin(regs.minutes & BQ32K_MINUTES_MASK); tm->tm_hour = bcd2bin(regs.cent_hours & BQ32K_HOURS_MASK); tm->tm_mday = bcd2bin(regs.date); tm->tm_wday = bcd2bin(regs.day) - 1;