Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753106AbeADOEC (ORCPT + 1 other); Thu, 4 Jan 2018 09:04:02 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:46308 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752713AbeADOD7 (ORCPT ); Thu, 4 Jan 2018 09:03:59 -0500 Date: Thu, 4 Jan 2018 14:03:19 +0000 From: Mark Brown To: Srinivas Kandagatla Cc: Stephen Boyd , Andy Gross , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, David Brown , Rob Herring , Mark Rutland , Liam Girdwood , Patrick Lai , Banajit Goswami , Jaroslav Kysela , Takashi Iwai , linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RESEND PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver Message-ID: <20180104140319.GH10774@sirena.org.uk> References: <20171214173402.19074-1-srinivas.kandagatla@linaro.org> <20171214173402.19074-15-srinivas.kandagatla@linaro.org> <20180104120244.GE10774@sirena.org.uk> <418b531d-9d51-80c5-85aa-8ab8ef27bebb@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SdvjNjn6lL3tIsv0" Content-Disposition: inline In-Reply-To: <418b531d-9d51-80c5-85aa-8ab8ef27bebb@linaro.org> X-Cookie: In the next world, you're on your own. User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: --SdvjNjn6lL3tIsv0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 04, 2018 at 01:44:30PM +0000, Srinivas Kandagatla wrote: > Initially I had this in pcm driver, but looking at example usage of > snd_dma_alloc_pages, most of them use card->dev and some of them use pcm > device for allocating dma memory. If they're using card->dev for DMA they're messing up, they need to use the device associated with the DMA controller. --SdvjNjn6lL3tIsv0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlpONCYACgkQJNaLcl1U h9BoKQf/eOIMROEd6tM9fz3SDflcwGWZ21eXuHgpcKHxqV+viREPLlp+3Os7eg39 VyI0YVbI/vIBpp1qib/3YngsOdwyRbdEYBiNiM3faO6LrxH6gMnjcG7K26MB8W8U dBgj8PK35qzMx8W4/rEqoxAo8zqwO5q0fFaUo47WoRyLuPSH8o9pFni80BYzniax aqQcp2XdGVeWK9TUBYHYC70HcsOYmdAtbd8dzsbNfe1xn41Ry0SN8kN+5wjS9qcn YyORT4kwKoCjUrtEgVsGbf6W8pgzyNUgGjb/a3Qnve11gt2ri4dgT9GxHbMTE3zt owRonpUYnJtCzv6LDValisU4vXahmw== =x4AZ -----END PGP SIGNATURE----- --SdvjNjn6lL3tIsv0--