Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Correct an easy mistake in initializing gain reg...
details: https://anonhg.NetBSD.org/src/rev/7d6852a82233
branches: trunk
changeset: 510175:7d6852a82233
user: minoura <minoura%NetBSD.org@localhost>
date: Mon May 21 23:55:04 2001 +0000
description:
Correct an easy mistake in initializing gain registers.
This will fix the L-R imbalance.
Suggested by Ryo HAYASAKA <ryoh%jaist.ac.jp@localhost>.
diffstat:
sys/dev/pci/yds.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r dcf7ec25d3a5 -r 7d6852a82233 sys/dev/pci/yds.c
--- a/sys/dev/pci/yds.c Mon May 21 23:21:27 2001 +0000
+++ b/sys/dev/pci/yds.c Mon May 21 23:55:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: yds.c,v 1.4 2001/05/15 14:30:24 lukem Exp $ */
+/* $NetBSD: yds.c,v 1.5 2001/05/21 23:55:04 minoura Exp $ */
/*
* Copyright (c) 2000, 2001 Kazuki Sakamoto and Minoura Makoto.
@@ -1450,6 +1450,7 @@
if (i == 0) {
psb->lchgain = psb->lchgainend = gain;
} else {
+ psb->lchgain = psb->lchgainend = 0;
psb->rchgain = psb->rchgainend = gain;
psb->format |= PSLT_FORMAT_RCH;
}
Home |
Main Index |
Thread Index |
Old Index