From 79561b6d9c666d1b40370153b105d4fbc2f44a41 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:22:56 +0100 Subject: [PATCH] Revert "gpio: aspeed: Add the flush write to ensure the write complete." This reverts commit 537a6560b4a8f6123cf9ad3560bc51318d262218. --- drivers/gpio/gpio-aspeed.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c index 41e3f3b35..bbd04a63f 100755 --- a/drivers/gpio/gpio-aspeed.c +++ b/drivers/gpio/gpio-aspeed.c @@ -404,8 +404,6 @@ static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, gpio->dcache[GPIO_BANK(offset)] = reg; iowrite32(reg, addr); - /* Flush write */ - ioread32(addr); } static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,