]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: sprd: adi: Add missing lock protection when rebooting
authorLingling Xu <ling_ling.xu@unisoc.com>
Mon, 28 Oct 2019 10:10:30 +0000 (18:10 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 28 Oct 2019 13:16:51 +0000 (13:16 +0000)
commit91ea1d70607e374b014b4b9bea771ce661f9f64b
tree51c1e081e148dc6b4cdf20b1558b6ca9b6cf68eb
parent6fb7427d84f6ed064776434436485cfb0f6711e9
spi: sprd: adi: Add missing lock protection when rebooting

When rebooting the system, we should lock the watchdog after
configuration to make sure the watchdog can reboot the system
successfully.

Signed-off-by: Lingling Xu <ling_ling.xu@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lore.kernel.org/r/7b04711127434555e3a1a86bc6be99860cd86668.1572257085.git.baolin.wang@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sprd-adi.c