diff options
author | Yoshihiro Shimoda <[email protected]> | 2019-06-05 14:04:00 +0900 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-07-08 19:39:44 +0200 |
commit | b836005b4f95cccdc1f53849a31cac2dc375f4b7 (patch) | |
tree | 38382bf14eb80c8fb4de63faf13e7a6fc1ff5bb0 /net/lapb/lapb_subr.c | |
parent | 1a4aaf9f11f9937e93fe9907e6c2320a10a9f269 (diff) |
watchdog: renesas_wdt: Add a few cycles delay
According to the hardware manual of R-Car Gen2 and Gen3,
software should wait a few RLCK cycles as following:
- Delay 2 cycles before setting watchdog counter.
- Delay 3 cycles before disabling module clock.
So, this patch adds such delays.
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions