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

2020-07-09 Thread Srinivas Kandagatla
On 08/07/2020 06:08, Rohit kumar wrote: From: Ajit Pandey 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. Signed-off-by: Ajit Pandey Reviewed-by: Srinivas Kanda

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

2020-07-08 Thread Rohit Kumar
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 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

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

2020-07-08 Thread Mark Brown
On Wed, Jul 08, 2020 at 10:38:13AM +0530, Rohit kumar wrote: > From: Ajit Pandey > > 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

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

2020-07-07 Thread Rohit kumar
From: Ajit Pandey 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. Signed-off-by: Ajit Pandey --- sound/soc/qcom/lpass-platform.c | 5 ++--- 1 file changed, 2 insertion