misc: make sure Tizen notifier is executed before reset
authorŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 29 Sep 2017 13:24:05 +0000 (15:24 +0200)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 30 Mar 2021 01:38:56 +0000 (10:38 +0900)
commitbc2c4c96f13fef5adbbcc09c5c094565bf63342f
tree8f0cc5eef9d676faf6dbf460f2ee8d4e29839079
parentd1fc6a110bec8da5fa33c38ff1e31d4494f8919e
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>
drivers/misc/tizen-inform-reboot.c