Revert "gpio: aspeed: Add the flush write to ensure the write complete."

This reverts commit 537a6560b4.
This commit is contained in:
Ksawlii 2024-11-24 00:22:56 +01:00
parent 45a06dded9
commit 79561b6d9c

View file

@ -404,8 +404,6 @@ static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,
gpio->dcache[GPIO_BANK(offset)] = reg; gpio->dcache[GPIO_BANK(offset)] = reg;
iowrite32(reg, addr); iowrite32(reg, addr);
/* Flush write */
ioread32(addr);
} }
static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,