diff options
author | Johan Hovold <johan@kernel.org> | 2018-07-04 11:05:55 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-07-12 20:31:17 +0200 |
commit | 5c8b84f410b3819d14cb1ebf32e4b3714b5a6e0b (patch) | |
tree | 71c2fec6ac0bc760c816f86b38d3af4745898d7b /scripts/setlocalversion | |
parent | rtc: test: make array pdev static (diff) | |
download | linux-5c8b84f410b3819d14cb1ebf32e4b3714b5a6e0b.tar.xz linux-5c8b84f410b3819d14cb1ebf32e4b3714b5a6e0b.zip |
rtc: omap: fix potential crash on power off
Do not set the system power-off callback and omap power-off rtc pointer
until we're done setting up our device to avoid leaving stale pointers
around after a late probe error.
Fixes: 97ea1906b3c2 ("rtc: omap: Support ext_wakeup configuration")
Cc: stable <stable@vger.kernel.org> # 4.9
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions