watchdog: qcom: Report reboot reason
authorGuenter Roeck <groeck@chromium.org>
Tue, 5 Apr 2016 00:37:46 +0000 (17:37 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 14 May 2016 07:08:01 +0000 (09:08 +0200)
commitb6ef36d2c1e391adc1fe1b2dd2a0f887a9f3052b
treead72b98e55b0b1cd6d537b9f3951fc1e48872804
parent44549e8f5eea4e0a41b487b63e616cb089922b99
watchdog: qcom: Report reboot reason

The Qualcom watchdog timer block reports if the system was reset by the
watchdog. Pass the information to user space.

Reviewed-by: Grant Grundler <grundler@chromium.org>
Tested-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/qcom-wdt.c