]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8025: fix rx8025_init_client()
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 4 Aug 2015 08:46:22 +0000 (10:46 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:12 +0000 (13:19 +0200)
commit5c0fa029513500a061967fb4f5817e56c1da3437
treef8ff725990e658808c4a105a883e2889a292a3c3
parentf72d2b7a06cfe60dbd724aca63288904915155a9
rtc: rx8025: fix rx8025_init_client()

rx8025_init_client is modifying ctrl[0] and writing it to RX8025_REG_CTRL2
but ctrl[0] is actually RX8025_REG_CTRL1.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rx8025.c