From: Mark Brown Subject: Re: Subject: [PATCH 1/1] set invalid dma channel to -1 (and properly check for it) since 0 is not an invalid channel but -1 is. Date: Thu, 1 Jan 2009 11:29:53 +0000 Message-ID: <20090101112951.GA6888@sirena.org.uk> References: <495BF49B.1000907@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id 33DE610380C for ; Thu, 1 Jan 2009 12:30:01 +0100 (CET) Content-Disposition: inline In-Reply-To: <495BF49B.1000907@gmail.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: sware Cc: Takashi Iwai , stephen.ware@eqware.net, ALSA project mailing list , Dennis O'Brien List-Id: alsa-devel@alsa-project.org On Wed, Dec 31, 2008 at 02:39:23PM -0800, sware wrote: > Set the invalid dma channel to -1 (and check properly for it) in pxa2xx_pcm_hw_free(). > Was assuming 0 is an invalid channel number but 0 is a valid pxa dma channel num. > Signed-off-by: stephen Applied, thanks.