[alsa-devel] 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.

sware microcontrolfreak at gmail.com
Thu Jan 1 18:29:06 CET 2009


Thanks, everyone. Especially Mark for pointing the way to a proper git
patch.

-stephen

Mark Brown wrote:
> 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 <stephen.ware at eqware.net>
>>     
>
> Applied, thanks.
>
>   


More information about the Alsa-devel mailing list