mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-02-06 19:33:24 +08:00
openamp/virtio.h: update vdev->features
set vdev->features in virtio_negotiate_features Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
c31e4fd626
commit
4df7975ab1
@@ -475,6 +475,7 @@ static inline int virtio_negotiate_features(struct virtio_device *vdev,
|
||||
return -ENXIO;
|
||||
|
||||
*final_features = vdev->func->negotiate_features(vdev, features);
|
||||
vdev->features = *final_features;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user