diff options
author | Harald Mommer <harald.mommer@oss.qualcomm.com> | 2025-07-24 16:36:53 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-07-25 10:09:21 +0200 |
commit | 4740e1e2f320061c2f0dbadc0dd3dfb58df986d5 (patch) | |
tree | f300459bbb7050623ba9d37e4b7d03a270d6f1b4 /scripts/lib | |
parent | 678bae2eaa812662929a83b3de399645e9de93ad (diff) |
gpio: virtio: Fix config space reading.
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@oss.qualcomm.com>
Cc: stable@vger.kernel.org
Fixes: 3a29355a22c0 ("gpio: Add virtio-gpio driver")
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20250724143718.5442-2-harald.mommer@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions