From owner-cvs-src@FreeBSD.ORG Mon Nov 10 21:38:30 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42DF916A4CE; Mon, 10 Nov 2003 21:38:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A16843FE5; Mon, 10 Nov 2003 21:38:28 -0800 (PST) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAB5cSXJ002280; Mon, 10 Nov 2003 21:38:28 -0800 (PST) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAB5cSp9002279; Mon, 10 Nov 2003 21:38:28 -0800 (PST) (envelope-from scottl) Message-Id: <200311110538.hAB5cSp9002279@repoman.freebsd.org> From: Scott Long Date: Mon, 10 Nov 2003 21:38:28 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sound/pci cmi.c src/sys/dev/sound/pcm dsp.c mixer.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 05:38:30 -0000 scottl 2003/11/10 21:38:28 PST FreeBSD src repository Modified files: sys/dev/sound/pci cmi.c sys/dev/sound/pcm dsp.c mixer.c Log: Fix sound LOR problems: dsp_open: rearrange to only hold one lock at a time dsp_close: ditto mixer_hwvol_init: delete locking, the only consumer seems to be the ess driver and it only call it a creation time, I think the device will be stable across the sleepable malloc. cmi interrupt routine: Release locks while caller chn_intr, either this or do what emu10k1 does which is have no locks at in the interrupt handler. Submitted by: mat@cnd.mcgill.ca Revision Changes Path 1.24 +28 -28 src/sys/dev/sound/pci/cmi.c 1.67 +88 -81 src/sys/dev/sound/pcm/dsp.c 1.33 +0 -2 src/sys/dev/sound/pcm/mixer.c