]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/virtio/virtio.c
access_process_vm device memory infrastructure
[linux-2.6-omap-h63xx.git] / drivers / virtio / virtio.c
index 0f3c2bb7bf3523ef2987788389c640748f516b39..7084e7e146c0b6fbc319bb9ceefcf419b7111a13 100644 (file)
@@ -124,9 +124,9 @@ static int virtio_dev_probe(struct device *_d)
        if (err)
                add_status(dev, VIRTIO_CONFIG_S_FAILED);
        else {
-               add_status(dev, VIRTIO_CONFIG_S_DRIVER_OK);
                /* They should never have set feature bits beyond 32 */
                dev->config->set_features(dev, dev->features[0]);
+               add_status(dev, VIRTIO_CONFIG_S_DRIVER_OK);
        }
        return err;
 }