mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
e0f5cdacf0
This commit updates the driver from version 6.6 to 7.1. In contrast to the old driver the new one will now probe all available HDA devices and will drive the first usable one, e.g.: ``` [init -> audio_drv] azalia0 [8086:160c] [init -> audio_drv] : [init -> audio_drv] azalia0: no supported codecs [init -> audio_drv] azalia1 [8086:9ca0] [init -> audio_drv] : [init -> audio_drv] azalia1: codecs: Realtek ALC292 [init -> audio_drv] audio0 at azalia1 ``` Fixes #4629.
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:
|