commit | c411adbdd0f2ff0e1dd35342c843edd3afa7c15b | [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 | 3eaf6dcd9362b56e3217559401287dd8fa35b5b2 [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>