aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sound/isa/ad1816.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/sound/isa/ad1816.c b/sys/dev/sound/isa/ad1816.c
index 7371b899450c..ba8059f00a22 100644
--- a/sys/dev/sound/isa/ad1816.c
+++ b/sys/dev/sound/isa/ad1816.c
@@ -368,7 +368,11 @@ ad1816chan_setformat(kobj_t obj, void *data, u_int32_t format)
if (format & AFMT_STEREO) fmt |= AD1816_STEREO;
io_wr(ad1816, reg, fmt);
ad1816_unlock(ad1816);
+#if 0
return format;
+#else
+ return 0;
+#endif
}
static int