aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/tangox_wdt.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-16watchdog: tangox_wdt: test clock rate to avoid division by 0Wolfram Sang1-4/+10
The clk API may return 0 on clk_get_rate, so we should check the result before using it as a divisor. For this, refactor the code to use a central error path. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2015-12-28watchdog: tangox: Print info message using pointer to platform deviceGuenter Roeck1-1/+1
The device pointer in struct watchdog_device should not be used by drivers and may be removed in the near future. Use the platform device pointer for info messages instead. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2015-12-28watchdog: add support for Sigma Designs SMP86xx/SMP87xxMans Rullgard1-0/+225
This adds support for the Sigma Designs SMP86xx/SMP87xx family built-in watchdog. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>