ALSA: pci: depend on ZONE_DMA
There are several sound drivers that 'select ZONE_DMA'. This is
backwards as ZONE_DMA is an architecture capability exported to drivers.
Switch the polarity of the dependency to disable these drivers when the
architecture does not support ZONE_DMA. This was discovered in the
context of testing/enabling devm_memremap_pages() which depends on
ZONE_DEVICE. ZONE_DEVICE in turn depends on !ZONE_DMA.
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
(cherry picked from commit
2db1a57986d37653583e67ccbf13082aadc8f25d)
Signed-off-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Orabug:
22107914
(cherry picked from commit
60b966d75f606b2c1830586eb6c66eca09cce8c9)