]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ebf5ed9c9dbdc30e796576a66d0925945334130
tree1f72e51c2885486a6b916b66cad57349a570bd1b
parentafd691685bbb799924cfa995f83d06ccaea7ee63
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