Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom vcaudio: Do not report recording mode ...



details:   https://anonhg.NetBSD.org/src/rev/07a85bee8b57
branches:  trunk
changeset: 958992:07a85bee8b57
user:      nia <nia%NetBSD.org@localhost>
date:      Wed Jan 27 12:06:10 2021 +0000

description:
vcaudio: Do not report recording mode in hardware format

diffstat:

 sys/arch/arm/broadcom/bcm2835_vcaudio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 87e082cd5274 -r 07a85bee8b57 sys/arch/arm/broadcom/bcm2835_vcaudio.c
--- a/sys/arch/arm/broadcom/bcm2835_vcaudio.c   Wed Jan 27 08:40:32 2021 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_vcaudio.c   Wed Jan 27 12:06:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_vcaudio.c,v 1.16 2021/01/23 12:53:46 nia Exp $ */
+/* $NetBSD: bcm2835_vcaudio.c,v 1.17 2021/01/27 12:06:10 nia Exp $ */
 
 /*-
  * Copyright (c) 2013 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_vcaudio.c,v 1.16 2021/01/23 12:53:46 nia Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_vcaudio.c,v 1.17 2021/01/27 12:06:10 nia Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -270,7 +270,7 @@
        sc->sc_hwvol[VCAUDIO_DEST_HDMI] = 255;
        sc->sc_dest = VCAUDIO_DEST_AUTO;
 
-       sc->sc_format.mode = AUMODE_PLAY|AUMODE_RECORD;
+       sc->sc_format.mode = AUMODE_PLAY;
        sc->sc_format.encoding = AUDIO_ENCODING_SLINEAR_LE;
        sc->sc_format.validbits = 16;
        sc->sc_format.precision = 16;



Home | Main Index | Thread Index | Old Index