]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: rx8025: fix incorrect register reference
authorYuta Hayama <hayama@lineo.co.jp>
Wed, 15 Oct 2025 03:07:05 +0000 (12:07 +0900)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 8 Nov 2025 19:56:12 +0000 (20:56 +0100)
commit162f24cbb0f6ec596e7e9f3e91610d79dc805229
tree4e5b1201d206ff7bbdf7f386c46ee27c53c8d115
parent0d510778c2f4913b5ca062b8a538929bff94e0be
rtc: rx8025: fix incorrect register reference

This code is intended to operate on the CTRL1 register, but ctrl[1] is
actually CTRL2. Correctly, ctrl[0] is CTRL1.

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Fixes: 71af91565052 ("rtc: rx8025: fix 12/24 hour mode detection on RX-8035")
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/eae5f479-5d28-4a37-859d-d54794e7628c@lineo.co.jp
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rx8025.c