Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix trouble setting recording parameters.
details: https://anonhg.NetBSD.org/src/rev/50ac883477ff
branches: trunk
changeset: 332466:50ac883477ff
user: nat <nat%NetBSD.org@localhost>
date: Mon Sep 22 14:25:32 2014 +0000
description:
Fix trouble setting recording parameters.
Addresses PR 48394.
This commit was approved by christos@
diffstat:
sys/dev/usb/uaudio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9663ece418d0 -r 50ac883477ff sys/dev/usb/uaudio.c
--- a/sys/dev/usb/uaudio.c Mon Sep 22 13:30:55 2014 +0000
+++ b/sys/dev/usb/uaudio.c Mon Sep 22 14:25:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uaudio.c,v 1.139 2013/09/27 13:34:48 skrll Exp $ */
+/* $NetBSD: uaudio.c,v 1.140 2014/09/22 14:25:32 nat Exp $ */
/*
* Copyright (c) 1999, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.139 2013/09/27 13:34:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.140 2014/09/22 14:25:32 nat Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -3066,7 +3066,7 @@
uaudio_chan_init(&sc->sc_playchan, paltidx, p, 0);
}
if ((setmode & AUMODE_RECORD)) {
- p = rfil->req_size > 0 ? &pfil->filters[0].param : rec;
+ p = rfil->req_size > 0 ? &rfil->filters[0].param : rec;
/* XXX abort transfer if currently happening? */
uaudio_chan_init(&sc->sc_recchan, raltidx, p,
UGETW(sc->sc_alts[raltidx].edesc->wMaxPacketSize));
Home |
Main Index |
Thread Index |
Old Index