NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55130: audio sometimes plays a buzz sound for a few seconds when changing volume
The following reply was made to PR kern/55130; it has been noted by GNATS.
From: Tetsuya Isaki <isaki%pastel-flower.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
coypu%sdf.org@localhost
Subject: Re: kern/55130: audio sometimes plays a buzz sound for a few seconds when changing volume
Date: Wed, 08 Apr 2020 13:44:46 +0900
At Sat, 4 Apr 2020 19:45:02 +0000 (UTC),
coypu%sdf.org@localhost wrote:
> Should probably mention I got this message as well (just noticed)
> [ 24537.040276] audio0: stray interrupt
This is unrelated.
Audio layer called halt_output (or _input) to stop audio but
MD driver called interrupt callback after that. This is
hdafg(4) issue.
I'm not familiar with hdafg(4) but I think at least this patch
will solve it.
--- a/sys/dev/hdaudio/hdafg.c
+++ b/sys/dev/hdaudio/hdafg.c
@@ -4015,6 +4015,9 @@ hdafg_halt_output(void *opaque)
hdaudio_stream_stop(ad->ad_playback);
+ /* Disable interrupt notification to upper layer */
+ ad->ad_playbackintr = NULL;
+
return 0;
}
@@ -4025,6 +4028,9 @@ hdafg_halt_input(void *opaque)
hdaudio_stream_stop(ad->ad_capture);
+ /* Disable interrupt notification to upper layer */
+ ad->ad_captureintr = NULL;
+
return 0;
}
---
Tetsuya Isaki <isaki%pastel-flower.jp@localhost / isaki%NetBSD.org@localhost>
Home |
Main Index |
Thread Index |
Old Index