From: Takashi Iwai Subject: Re: HDA: Enable chipset gcap usage Date: Tue, 15 Jan 2008 11:25:34 +0100 Message-ID: References: <1200339867.27806.25.camel@razman.gruemaster.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 07F6824782 for ; Tue, 15 Jan 2008 11:25:35 +0100 (CET) In-Reply-To: <1200339867.27806.25.camel@razman.gruemaster.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Tobin Davis Cc: ALSA Developers List-Id: alsa-devel@alsa-project.org At Mon, 14 Jan 2008 11:44:27 -0800, Tobin Davis wrote: > > I tweaked this as promised, and ran it through the checkpatch.pl utility from > kernel git tree. I have tested it on my Asus Z62F laptop as well as a few > systems in my work environment without issue. > > Summary: hda_intel.c use gcap register to determine number of streams supported > by southbridge. > > This patch quieries the southbridge for the number of streams supported by the > southbridge in most chipsets, and reads these values from the chipset directly. > Most systems are hardwired for 4 streams in each direction, but newer chipsets > change that capability. As a fallback, the old hardcoded method is still > available. > > Signed off by Tobin Davis Thanks. I applied the patch after fixing some issues. (It didn't even compile :) Takashi