diff options
| author | Raphael Poss <knz@thaumogen.net> | 2025-12-10 20:12:22 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2026-04-24 16:23:06 +0000 |
| commit | 43b7cf42d425abc84a1313b7eed933438804a051 (patch) | |
| tree | e8c69d853698f808850049cc76d2bdad9ae9e0fc /sys/dev/speaker | |
| parent | 03a515e9890b0c6844457254e26dc34333b85127 (diff) | |
Diffstat (limited to 'sys/dev/speaker')
| -rw-r--r-- | sys/dev/speaker/spkr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c index 2cdbbd43ff6e..85789c107336 100644 --- a/sys/dev/speaker/spkr.c +++ b/sys/dev/speaker/spkr.c @@ -24,7 +24,7 @@ static d_ioctl_t spkrioctl; static struct cdevsw spkr_cdevsw = { .d_version = D_VERSION, - .d_flags = D_NEEDGIANT, + .d_flags = 0, .d_open = spkropen, .d_close = spkrclose, .d_write = spkrwrite, @@ -78,10 +78,8 @@ tone(unsigned int thz, unsigned int centisecs) if (timer_spkr_acquire()) { return; } - disable_intr(); /* Configure the speaker with the tone frequency. */ timer_spkr_setfreq(thz); - enable_intr(); /* * Make the current thread sleep while the tone is being |
