[PATCH] ASoC: qcom: lpass-platform: Update memremap flag to MEMREMAP_WC

Judy Hsiao judyhsiao at chromium.org
Tue Apr 19 11:22:29 CEST 2022


> -       buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WT);
> +       buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WC);
Should we replace the memremap() with other standard DMA buffer
allocation API like: snd_pcm_set_managed_buffer() ?
Thanks!
>
>         return 0;
>  }
> --
> 2.7.4
>


More information about the Alsa-devel mailing list