ALSA: emu10k1: use dma_set_mask_and_coherent()
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Tue, 13 Feb 2018 23:05:16 +0000 (00:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Feb 2018 06:46:51 +0000 (07:46 +0100)
commit70d0bc7dca918a0add6da817bae70f334fb4cc60
tree1f72e51c2885486a6b916b66cad57349a570bd1b
parenta4463c92db0805581f4dfb700f72533cf25ebd48
ALSA: emu10k1: use dma_set_mask_and_coherent()

We have been calling dma_set_mask() and then dma_set_coherent_mask() with
the same value, but there is a dma_set_mask_and_coherent() function that
does exactly that so let's use it instead.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1_main.c