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

From: Mark Brown
Date: Thu Jan 04 2018 - 07:03:02 EST


On Wed, Jan 03, 2018 at 09:20:45AM -0800, Stephen Boyd wrote:
> On 12/14/2017 09:34 AM, srinivas.kandagatla@xxxxxxxxxx wrote:

> > uThis patch adds support to DB820c machine driver.

> > + ret = dma_coerce_mask_and_coherent(card->dev, DMA_BIT_MASK(32));

> Why do we need to do this? Can you add some sort of comment in the code
> about why?

And why are we applying DMA restrictions in a machine driver?

Attachment: signature.asc
Description: PGP signature