mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +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.
24 lines
370 B
Diff
24 lines
370 B
Diff
Instead of implementing softintr handling add our notification
|
|
functions directly.
|
|
|
|
--- a/dev/audio.c
|
|
+++ b/dev/audio.c
|
|
@@ -572,6 +572,8 @@ audio_pintr(void *addr)
|
|
*/
|
|
softintr_schedule(sc->play.softintr);
|
|
}
|
|
+
|
|
+ notify_play();
|
|
}
|
|
|
|
/*
|
|
@@ -655,6 +657,8 @@ audio_rintr(void *addr)
|
|
*/
|
|
softintr_schedule(sc->rec.softintr);
|
|
}
|
|
+
|
|
+ notify_record();
|
|
}
|
|
|
|
int
|