Re: [PATCH v1 1/1] gpio: virtio: Fix config space reading.

From: Viresh Kumar
Date: Fri Jul 18 2025 - 04:15:54 EST


On 17-07-25, 16:09, Harald Mommer wrote:
> Quote from the virtio specification chapter 4.2.2.2:
>
> "For the device-specific configuration space, the driver MUST use 8 bit
> wide accesses for 8 bit wide fields, 16 bit wide and aligned accesses
> for 16 bit wide fields and 32 bit wide and aligned accesses for 32 and
> 64 bit wide fields."
>
> Signed-off-by: Harald Mommer <harald.mommer@xxxxxxxxxxxxxxxx>
> ---
> drivers/gpio/gpio-virtio.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh