diff options
author | Lingling Xu <ling_ling.xu@unisoc.com> | 2020-11-09 04:00:54 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-12-13 16:17:38 +0100 |
commit | 3e07d240939803bed9feb2a353d94686a411a7ca (patch) | |
tree | adceaa9aad5916fa1b8ed840fb6a2da29a004b50 /drivers/watchdog/hpwdt.c | |
parent | watchdog: sprd: remove watchdog disable from resume fail path (diff) | |
download | linux-3e07d240939803bed9feb2a353d94686a411a7ca.tar.xz linux-3e07d240939803bed9feb2a353d94686a411a7ca.zip |
watchdog: sprd: check busy bit before new loading rather than after that
As the specification described, users must check busy bit before start
a new loading operation to make sure that the previous loading is done
and the device is ready to accept a new one.
[ chunyan: Massaged changelog ]
Fixes: 477603467009 ("watchdog: Add Spreadtrum watchdog driver")
Signed-off-by: Lingling Xu <ling_ling.xu@unisoc.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201029023933.24548-3-zhang.lyra@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/hpwdt.c')
0 files changed, 0 insertions, 0 deletions