Re: [RESEND PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver

From: Mark Brown
Date: Thu Jan 04 2018 - 09:04:05 EST


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.

Attachment: signature.asc
Description: PGP signature