]> git.baikalelectronics.ru Git - kernel.git/commit
spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH
authorLingling Xu <ling_ling.xu@unisoc.com>
Tue, 2 Jun 2020 08:24:15 +0000 (16:24 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2020 10:45:11 +0000 (11:45 +0100)
commit01041f682403d53fdf2e2175532d8745e2e9ace3
tree636fc751546ba1b47c6d5207593e0cb8bf734ed1
parent0e3bc5c1ac1ea3bb6695be68abd8ee699aedbeab
spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH

The watchdog counter consists of WDG_LOAD_LOW and WDG_LOAD_HIGH,
which would be loaded to watchdog counter once writing WDG_LOAD_LOW.

Fixes: dabcae1e39e9 ("spi: sprd: Add the support of restarting the system")
Signed-off-by: Lingling Xu <ling_ling.xu@unisoc.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lore.kernel.org/r/20200602082415.5848-1-zhang.lyra@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sprd-adi.c