Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic add missing break; after case IW_LINE_IN_LVL case.



details:   https://anonhg.NetBSD.org/src/rev/66424c37d44c
branches:  trunk
changeset: 448446:66424c37d44c
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 03 11:15:45 2019 +0000

description:
add missing break; after case IW_LINE_IN_LVL case.
it was being overridden by the IW_REC_LVL case.

diffstat:

 sys/dev/ic/interwave.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a5204f4694f3 -r 66424c37d44c sys/dev/ic/interwave.c
--- a/sys/dev/ic/interwave.c    Sun Feb 03 11:12:01 2019 +0000
+++ b/sys/dev/ic/interwave.c    Sun Feb 03 11:15:45 2019 +0000
@@ -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 @@
                        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;



Home | Main Index | Thread Index | Old Index