diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c index 0b5afcbe6d5..8bfba53d324 100644 --- a/sys/dev/sound/pci/neomagic.c +++ b/sys/dev/sound/pci/neomagic.c @@ -355,7 +355,7 @@ nmchan_setspeed(void *data, u_int32_t speed) struct sc_chinfo *ch = data; ch->spd = speed; - return nm_setch(ch); + return nm_setch(ch)? 0 : ch->spd; } static int