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

Takashi Iwai tiwai at suse.de
Sat Nov 21 10:33:13 CET 2020


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 at wanadoo.fr>
> ---
> v2: do not update the dev_err message, to keep consistency with other dev_err

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list