diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-09-29 15:24:05 +0200 |
---|---|---|
committer | Junghoon Kim <jhoon20.kim@samsung.com> | 2019-06-11 09:35:52 +0900 |
commit | 00f630d850a0652131172887152ef56635463105 (patch) | |
tree | d7ae555e771181208f0a96ce1dd1523c94a3e5c9 /drivers | |
parent | 5b56921243094a3997b1e58638fd068e5d589fd7 (diff) | |
download | linux-rpi3-00f630d850a0652131172887152ef56635463105.tar.gz linux-rpi3-00f630d850a0652131172887152ef56635463105.tar.bz2 linux-rpi3-00f630d850a0652131172887152ef56635463105.zip |
misc: make sure Tizen notifier is executed before reset
In case of RaspberryPi the CPU is reset by watchdog triggered from
the bcm2835_restart_notifier_call function. Tizen notifier needs higher
priority to be called before the watchdog.
Change-Id: Ia7f6d895f6f40d1a9b4e57ad41b5bdb55c94f4f2
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/tizen-inform-reboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/tizen-inform-reboot.c b/drivers/misc/tizen-inform-reboot.c index 7a1f16fb0e14..2e261869c02b 100644 --- a/drivers/misc/tizen-inform-reboot.c +++ b/drivers/misc/tizen-inform-reboot.c @@ -61,7 +61,8 @@ static int inform_reboot_notifier(struct notifier_block *nb, } static struct notifier_block nb_inform_reboot_block = { - .notifier_call = inform_reboot_notifier + .notifier_call = inform_reboot_notifier, + .priority = 256, }; static int __init inform_reboot_init(void) |