commit | c3336b8ac6091df60a5c1049a8c685d0b947cc61 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 12 13:10:28 2021 +0300 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Fri Oct 15 21:07:23 2021 +0200 |
tree | 707056c38198921586661370bbd8ffc7193ced01 | |
parent | 24d23181e43d72ca692a479e70dfe5b0b5dd33f1 [diff] |
rtc: rv3032: fix error handling in rv3032_clkout_set_rate() Do not call rv3032_exit_eerd() if the enter function fails but don't forget to call the exit when the enter succeeds. Fixes: 2eeaa532acca ("rtc: rv3032: Add a driver for Microcrystal RV-3032") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20211012101028.GT2083@kadam