diff options
| author | mrg <mrg@NetBSD.org> | 2019-02-03 11:15:45 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-02-03 11:15:45 +0000 |
| commit | 2fa1cbf95a7e44858bcfd33d0c77b61a45235827 (patch) | |
| tree | 309ab983ed6ba73291d16f038dc3404b0450b36e /sys/dev/ic/interwave.c | |
| parent | fb53a32ebbc23c29c92f1d93fee71a2d1256194f (diff) | |
add missing break; after case IW_LINE_IN_LVL case.
it was being overridden by the IW_REC_LVL case.
Diffstat (limited to 'sys/dev/ic/interwave.c')
| -rw-r--r-- | sys/dev/ic/interwave.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/interwave.c b/sys/dev/ic/interwave.c index 32482e9f77e..23ebbec6e03 100644 --- a/sys/dev/ic/interwave.c +++ b/sys/dev/ic/interwave.c @@ -1,4 +1,4 @@ -/* $NetBSD: interwave.c,v 1.39 2016/07/14 10:19:06 msaitoh Exp $ */ +/* $NetBSD: interwave.c,v 1.40 2019/02/03 11:15:45 mrg Exp $ */ /* * Copyright (c) 1997, 1999, 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: interwave.c,v 1.39 2016/07/14 10:19:06 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: interwave.c,v 1.40 2019/02/03 11:15:45 mrg Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1325,6 +1325,7 @@ iw_get_port(void *addr, mixer_ctrl_t *cp) cp->un.value.level[1] = sc->sc_linein.volr; error = 0; } + break; case IW_REC_LVL: if (cp->type == AUDIO_MIXER_VALUE) { cp->un.value.num_channels = 2; |
