summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2002-01-27 23:09:41 +0000
committerScott Long <scottl@FreeBSD.org>2002-01-27 23:09:41 +0000
commit60d1d6861b1c3f05de772e272b7cddfba8804bee (patch)
tree34767afb6b76f967ed90f2fe9833082625a80d93
parenta1a1118a96fbc02eb5c711f80fbbff93aeae6e90 (diff)
Notes
-rw-r--r--sys/dev/sound/pci/maestro.c2
-rw-r--r--sys/dev/sound/pci/maestro3.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/pci/maestro.c b/sys/dev/sound/pci/maestro.c
index 5483853a5425..bf5f4428e3b6 100644
--- a/sys/dev/sound/pci/maestro.c
+++ b/sys/dev/sound/pci/maestro.c
@@ -717,7 +717,7 @@ aggch_setplayformat(kobj_t obj, void *data, u_int32_t format)
}
ch->wcreg_tpl = wcreg_tpl;
ch->aputype = aputype;
- return format;
+ return 0;
}
static int
diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c
index 812fd911dcfa..49486cb52884 100644
--- a/sys/dev/sound/pci/maestro3.c
+++ b/sys/dev/sound/pci/maestro3.c
@@ -495,7 +495,7 @@ m3_pchan_setformat(kobj_t kobj, void *chdata, u_int32_t format)
m3_wr_assp_data(sc, ch->dac_data + SRC3_WORD_LENGTH_OFFSET, data);
ch->fmt = format;
- return format;
+ return 0;
}
static int
@@ -770,7 +770,7 @@ m3_rchan_setformat(kobj_t kobj, void *chdata, u_int32_t format)
m3_wr_assp_data(sc, ch->adc_data + SRC3_WORD_LENGTH_OFFSET, data);
ch->fmt = format;
- return format;
+ return 0;
}
static int