From: Akshay Bhat <akshay.bhat@timesys.com>
To: a.zummo@towertech.it, alexandre.belloni@free-electrons.com
Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org,
Akshay Bhat <akshay.bhat@timesys.com>
Subject: [PATCH 2/3] rtc: rx8010: Specify correct address for RX8010_RESV31
Date: Fri, 3 Nov 2017 13:32:40 -0400 [thread overview]
Message-ID: <1509730361-23905-2-git-send-email-akshay.bhat@timesys.com> (raw)
In-Reply-To: <1509730361-23905-1-git-send-email-akshay.bhat@timesys.com>
Define for reserved register 31 had the incorrect address. Specify
the correct address.
Reported-by: Jens-Peter Oswald <oswald@lre.de>
Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
---
drivers/rtc/rtc-rx8010.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c
index f948f75..2e06e5f 100644
--- a/drivers/rtc/rtc-rx8010.c
+++ b/drivers/rtc/rtc-rx8010.c
@@ -35,7 +35,7 @@
#define RX8010_CTRL 0x1F
/* 0x20 to 0x2F are user registers */
#define RX8010_RESV30 0x30
-#define RX8010_RESV31 0x32
+#define RX8010_RESV31 0x31
#define RX8010_IRQ 0x32
#define RX8010_EXT_WADA BIT(3)
--
2.7.4
next prev parent reply other threads:[~2017-11-03 17:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-03 17:32 [PATCH 1/3] rtc: rx8010: Remove duplicate define Akshay Bhat
2017-11-03 17:32 ` Akshay Bhat [this message]
2017-11-08 2:28 ` [PATCH 2/3] rtc: rx8010: Specify correct address for RX8010_RESV31 Alexandre Belloni
2017-11-03 17:32 ` [PATCH 3/3] rtc: rx8010: Fix for incorrect return value Akshay Bhat
2017-11-08 2:30 ` Alexandre Belloni
2017-11-08 20:00 ` Akshay Bhat
2017-11-08 2:28 ` [PATCH 1/3] rtc: rx8010: Remove duplicate define Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1509730361-23905-2-git-send-email-akshay.bhat@timesys.com \
--to=akshay.bhat@timesys.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@free-electrons.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®