commit | 53a81ad83b322a9267a4b5ccfa2268fac7191659 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <philippe.reynes@softathome.com> | Fri May 03 19:43:06 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat May 18 12:31:58 2019 -0400 |
tree | c9b7c9f9660ddc25687275b584baaf02b600117c | |
parent | cefecb1c7271caee18a8e6c3b934994a7ab9be27 [diff] |
watchdog: bcm6345: callback start use tick instead of ms The function bcm6345_wdt_start use the argument timeout as tick but it should be used as milliseconds. A clock is added as requirement for this driver. The frequency of the clock is then used to convert the millisecond to ticks in the function bcm6345_wdt_start. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Stefan Roese <sr@denx.de>