Re: [PATCH v3 5/8] ASoC: qcom: lpass-platform: Replace card->dev with component->dev

From: Rohit Kumar
Date: Wed Jul 08 2020 - 23:46:38 EST



On 7/8/2020 10:20 PM, Mark Brown wrote:
On Wed, Jul 08, 2020 at 10:38:13AM +0530, Rohit kumar wrote:
From: Ajit Pandey <ajitp@xxxxxxxxxxxxxx>

We are allocating dma memory for component->dev but trying to mmap
such memory for substream->pcm->card->dev. Replace device argument
in mmap with component->dev to fix this.
This is a bug fix and should've been at the start of the series (or sent
separately) so that it can be applied without the rest of the series.

Thanks Mark for the suggestion. I will send it separately.

For other patches in series, I will wait for comments before posting next

patchset.

Thanks,

Rohit

--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member
of the Code Aurora Forum, hosted by the Linux Foundation.