Re: [PATCH V2] ALSA: emu10k1: Use dma_set_mask_and_coherent to simplify code

From: Takashi Iwai
Date: Sat Nov 21 2020 - 04:35:02 EST


On Sat, 21 Nov 2020 09:37:47 +0100,
Christophe JAILLET wrote:
>
> 'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by
> an equivalent 'dma_set_mask_and_coherent()' which is much less verbose.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> v2: do not update the dev_err message, to keep consistency with other dev_err

Applied, thanks.


Takashi