test: dm: virtio: Test virtio device driver probing
authorAndrew Scull <ascull@google.com>
Mon, 16 May 2022 10:41:38 +0000 (10:41 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 13:24:04 +0000 (09:24 -0400)
commit420b3e51f4f64ebc6ab88f751f116e634894b231
treeeb80aed3febc2081b2338e425374ec36e473a191
parentacd3b27a6564b94ffd2d4cf0c2726816bc1bffc3
test: dm: virtio: Test virtio device driver probing

Once the virtio-rng driver has been bound, probe it to trigger the pre
and post child probe hooks of the virtio uclass driver. Check the status
of the virtio device to confirm it reached the expected state.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/virtio_device.c