aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/remoteproc_virtio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/remoteproc/remoteproc_virtio.c b/drivers/remoteproc/remoteproc_virtio.c
index 62897db1331e..627737ee7632 100644
--- a/drivers/remoteproc/remoteproc_virtio.c
+++ b/drivers/remoteproc/remoteproc_virtio.c
@@ -227,6 +227,9 @@ static void rproc_virtio_finalize_features(struct virtio_device *vdev)
227 /* Give virtio_ring a chance to accept features */ 227 /* Give virtio_ring a chance to accept features */
228 vring_transport_features(vdev); 228 vring_transport_features(vdev);
229 229
230 /* Make sure we don't have any features > 32 bits! */
231 BUG_ON((u32)vdev->features != vdev->features);
232
230 /* 233 /*
231 * Remember the finalized features of our vdev, and provide it 234 * Remember the finalized features of our vdev, and provide it
232 * to the remote processor once it is powered on. 235 * to the remote processor once it is powered on.