diff options
author | Nick Chan <towinchenmi@gmail.com> | 2024-10-02 00:59:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 19:54:18 +0100 |
commit | d0c1a72b56742c65e3a420ed60e0d66b35946f5c (patch) | |
tree | a7b444b1f67a927113d0dfcafe178e382eb11bc3 /drivers/watchdog/da9052_wdt.c | |
parent | 0bcea01215478d139d0b43b2e3d9e3da0e9a21f4 (diff) | |
download | linux-d0c1a72b56742c65e3a420ed60e0d66b35946f5c.tar.gz linux-d0c1a72b56742c65e3a420ed60e0d66b35946f5c.tar.bz2 linux-d0c1a72b56742c65e3a420ed60e0d66b35946f5c.zip |
watchdog: apple: Actually flush writes after requesting watchdog restart
[ Upstream commit 51dfe714c03c066aabc815a2bb2adcc998dfcb30 ]
Although there is an existing code comment about flushing the writes,
writes were not actually being flushed.
Actually flush the writes by changing readl_relaxed() to readl().
Fixes: 4ed224aeaf661 ("watchdog: Add Apple SoC watchdog driver")
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241001170018.20139-2-towinchenmi@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/watchdog/da9052_wdt.c')
0 files changed, 0 insertions, 0 deletions