mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
15 lines
318 B
Diff
15 lines
318 B
Diff
|
To signal an successful attach attempt we set the ref counter
|
||
|
of the parent, i.e., the dummy pci bus and check that in our
|
||
|
'probe_cfdata' function.
|
||
|
|
||
|
--- a/dev/pci/azalia.c
|
||
|
+++ b/dev/pci/azalia.c
|
||
|
@@ -591,6 +591,7 @@
|
||
|
|
||
|
audio_attach_mi(&azalia_hw_if, sc, NULL, &sc->dev);
|
||
|
|
||
|
+ parent->dv_ref = 1;
|
||
|
return;
|
||
|
|
||
|
err_exit:
|