Module Name: src Committed By: nat Date: Tue Jun 20 07:42:32 UTC 2017
Modified Files: src/sys/dev: audio.c Log Message: No need to reset the audioinfo whem dealing with the hardware ring. This avoids a panic with some audio devices. Ok christos@. To generate a diff of this commit: cvs rdiff -u -r1.358 -r1.359 src/sys/dev/audio.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/audio.c diff -u src/sys/dev/audio.c:1.358 src/sys/dev/audio.c:1.359 --- src/sys/dev/audio.c:1.358 Thu Jun 8 13:05:03 2017 +++ src/sys/dev/audio.c Tue Jun 20 07:42:31 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.358 2017/06/08 13:05:03 nat Exp $ */ +/* $NetBSD: audio.c,v 1.359 2017/06/20 07:42:31 nat Exp $ */ /*- * Copyright (c) 2016 Nathanial Sloss <nathanialsl...@yahoo.com.au> @@ -148,7 +148,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.358 2017/06/08 13:05:03 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.359 2017/06/20 07:42:31 nat Exp $"); #ifdef _KERNEL_OPT #include "audio.h" @@ -4187,7 +4187,7 @@ audio_set_vchan_defaults(struct audio_so &sc->sc_encodings); if (error == 0) - error = audiosetinfo(sc, &ai, true, vc); + error = audiosetinfo(sc, &ai, false, vc); return error; }