[PATCH v3 2/5] ALSA: emu10k1: use dma_set_mask_and_coherent()

2018-02-13 Thread Maciej S. Szmigiero
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 --- Changes from v1, v2: None in this

[PATCH v3 2/5] ALSA: emu10k1: use dma_set_mask_and_coherent()

2018-02-13 Thread Maciej S. Szmigiero
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 --- Changes from v1, v2: None in this patch.