commit | 26e480f7bb7840fc0daa9c3af7c4501b2cf5902f | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Fri Oct 13 00:06:44 2017 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue Oct 31 17:31:10 2017 +0100 |
tree | 39c84568bfa55e44a1be0c58b2672c32b21049ee | |
parent | 3ba2c76a9d3a339cd1b77e88915680ae2e9ac2da [diff] |
rtc: omap: fix error path when pinctrl_register fails If pinctrl_register() fails probe will return with an error without locking the RTC and disabling pm_runtime. Set ret and jump to err instead. Fixes: 97ea1906b3c2 ("rtc: omap: Support ext_wakeup configuration") Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>