Re: [PATCH v2 05/13] hw/gpio/imx_gpio: Don't clear input GPIO values upon reset

2025-01-27 Thread Peter Maydell
On Sat, 11 Jan 2025 at 18:37, Bernhard Beschow wrote: > > Input GPIO values such as a present SD card may get notified before the GPIO > controller itself gets reset. Claring the input values thus loses data. > Assuming > that input GPIO events are only fired when the state changes, the input val

[PATCH v2 05/13] hw/gpio/imx_gpio: Don't clear input GPIO values upon reset

2025-01-11 Thread Bernhard Beschow
Input GPIO values such as a present SD card may get notified before the GPIO controller itself gets reset. Claring the input values thus loses data. Assuming that input GPIO events are only fired when the state changes, the input values shouldn't be reset. Signed-off-by: Bernhard Beschow --- hw/