Hello, while developing a virtio-spi device, I noticed that the spi-virtio driver in not honoring the indication on the maximum transfer frequency supported by the device that this one indicates using the config space. Patch 1 contains a fix for that.
While at it, I did a minor cleanup inside the function parsing the config space, where a value was stored into the driver's private data without a further usage, wasting (a very tiny amount of) memory. This was tested against a (still unreleased) virtio device running on a Cortex-M33, with remoteproc as virtio transport. Regards, Francesco Signed-off-by: Francesco Valla <[email protected]> --- Francesco Valla (2): spi: virtio: fix max frequency setting spi: virtio: drop unused field from private data drivers/spi/spi-virtio.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) --- base-commit: 9b87fdc9af2fbfcdb5c24a64139685ef80f6573f change-id: 20260915-virtio-spi-fix2-ed832a0c069e Best regards, -- Francesco Valla <[email protected]>

