Files
twx-linux/drivers
Johan Hovold 4e935c2eae rtc: omap: fix potential crash on power off
commit 5c8b84f410 upstream.

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: 97ea1906b3 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-09 20:01:22 +02:00
..
…
2018-07-22 14:27:36 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-08-22 07:47:14 +02:00
…
…
2018-08-24 13:12:32 +02:00
…
…
…
…
…
…
2018-07-25 11:24:01 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…