ALSA: pci: Simplify with dma_set_mask_and_coherent()
authorTakashi Iwai <tiwai@suse.de>
Thu, 14 Jan 2021 12:54:11 +0000 (13:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Jan 2021 10:17:00 +0000 (11:17 +0100)
commit669f65eaeb969ef60811939a5811479d3e8087af
treed42affa360bbb22e5ed38a6af0dcded1f6513362
parent9a08676fc5968be8575ee2fa8926e55d8aef166c
ALSA: pci: Simplify with dma_set_mask_and_coherent()

Many PCI drivers still have two explicit calls of dma_set_mask() and
dma_set_coherent_mask().

Let's simplify with dma_set_mask_and_coherent().

Link: https://lore.kernel.org/r/20210114125412.993-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 files changed:
sound/pci/ad1889.c
sound/pci/ali5451/ali5451.c
sound/pci/als300.c
sound/pci/als4000.c
sound/pci/au88x0/au88x0.c
sound/pci/aw2/aw2-alsa.c
sound/pci/azt3328.c
sound/pci/ca0106/ca0106_main.c
sound/pci/cs5535audio/cs5535audio.c
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/cthw20k2.c
sound/pci/es1938.c
sound/pci/es1968.c
sound/pci/hda/hda_intel.c
sound/pci/ice1712/ice1712.c
sound/pci/maestro3.c
sound/pci/sonicvibes.c
sound/pci/trident/trident_main.c