Home
last modified time | relevance | path

Searched hist:d556b4ff5854a7120dd01c5aa2f9512b2c0bf949 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Dapple_wdt.cdiff d556b4ff5854a7120dd01c5aa2f9512b2c0bf949 Tue Oct 01 11:59:51 CDT 2024 Nick Chan <towinchenmi@gmail.com> 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>