From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id B26F8DDED7 for ; Fri, 21 Dec 2007 04:05:52 +1100 (EST) Message-ID: <476AA0A7.4090002@freescale.com> Date: Thu, 20 Dec 2007 11:04:39 -0600 From: Timur Tabi MIME-Version: 1.0 To: Takashi Iwai Subject: Re: [alsa-devel] [PATCH] ASoC drivers for the Freescale MPC8610 SoC References: <11981089894052-git-send-email-timur@freescale.com> <20071220040633.GA6732@lixom.net> <476A7B23.2040905@freescale.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Olof Johansson , linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Takashi Iwai wrote: > All? No, only a few... > For PCI, usually pci_set_dma_mask() and pci_set_consistent_dma_mask() > are used, of course. Hmm, ok I was wrong. I took this code from the ASoC at91 driver. Unfortunately, I don't understand what this code is trying to do. The AT91 driver isn't documented, so I don't even know if I need it. Can someone explain what all this is? What's the alternative to using a static global? -- Timur Tabi Linux kernel developer at Freescale