Module Name: src Committed By: mrg Date: Sun Feb 3 11:15:45 UTC 2019
Modified Files: src/sys/dev/ic: interwave.c Log Message: add missing break; after case IW_LINE_IN_LVL case. it was being overridden by the IW_REC_LVL case. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/ic/interwave.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/interwave.c diff -u src/sys/dev/ic/interwave.c:1.39 src/sys/dev/ic/interwave.c:1.40 --- src/sys/dev/ic/interwave.c:1.39 Thu Jul 14 10:19:06 2016 +++ src/sys/dev/ic/interwave.c Sun Feb 3 11:15:45 2019 @@ -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;