linux_dsm_epyc7002/sound/pci/ice1712
Quentin Lambert 412b979ccc ALSA: remove deprecated use of pci api
Replace occurences of the pci api by appropriate call to the dma api.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr)

@deprecated@
idexpression id;
position p;
@@

(
  pci_dma_supported@p ( id, ...)
|
  pci_alloc_consistent@p ( id, ...)
)

@bad1@
idexpression id;
position deprecated.p;
@@
...when != &id->dev
   when != pci_get_drvdata ( id )
   when != pci_enable_device ( id )
(
  pci_dma_supported@p ( id, ...)
|
  pci_alloc_consistent@p ( id, ...)
)

@depends on !bad1@
idexpression id;
expression direction;
position deprecated.p;
@@

(
- pci_dma_supported@p ( id,
+ dma_supported ( &id->dev,
...
+ , GFP_ATOMIC
  )
|
- pci_alloc_consistent@p ( id,
+ dma_alloc_coherent ( &id->dev,
...
+ , GFP_ATOMIC
  )
)

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-04-16 12:19:52 +02:00
..
ak4xxx.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
amp.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
amp.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
aureon.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
aureon.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
delta.c ALSA: ice1712: restore AK4xxx volumes on resume 2014-04-04 16:22:34 +02:00
delta.h ALSA: ice1712 - working M-Audio Delta 66E support 2010-12-09 08:40:01 +01:00
envy24ht.h ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations 2012-01-11 08:56:59 +01:00
ews.c ALSA: ice1712: Use snd_ctl_enum_info() 2014-10-21 09:01:06 +02:00
ews.h [ALSA] ice1712 - Add Terrasoniq TS88 support 2008-04-24 12:00:40 +02:00
hoontech.c ALSA: ice1712: remove unneeded return statement 2014-11-14 14:16:36 +01:00
hoontech.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
ice1712.c ALSA: remove deprecated use of pci api 2015-04-16 12:19:52 +02:00
ice1712.h ALSA: ice1712: Correcting/completing #defines for REGS 2014-07-04 09:18:36 +02:00
ice1724.c ALSA: ice1724: Simplify PM callbacks 2015-01-09 16:24:22 +01:00
juli.c ALSA: ak411x: Add PM helper functions 2015-01-28 22:30:12 +01:00
juli.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
Makefile ALSA: ice1712: Add Philips PSC724 Ultimate Edge 2012-10-17 09:01:32 +02:00
maya44.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
maya44.h ALSA: ice1724 - Add ESI Maya44 support 2009-05-06 17:33:19 +02:00
phase.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
phase.h ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
pontis.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
pontis.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
prodigy192.c ALSA: ice1712: remove unneeded return statement 2014-11-14 14:16:36 +01:00
prodigy192.h [ALSA] ice1724 - Functioning support for Prodigy 192 2007-05-11 16:55:58 +02:00
prodigy_hifi.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
prodigy_hifi.h [ALSA] ice1724 - Add missing prodigy_hifi.h 2008-01-31 17:30:03 +01:00
psc724.c ALSA: Use strlcpy() instead of strncpy() 2013-10-29 15:26:12 +01:00
psc724.h ALSA: ice1712: Add Philips PSC724 Ultimate Edge 2012-10-17 09:01:32 +02:00
quartet.c ALSA: ice1712: remove unneeded return statement 2014-11-14 14:16:36 +01:00
quartet.h ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
revo.c ALSA: ice1712: consider error value 2014-11-14 14:16:47 +01:00
revo.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
se.c ALSA: ice1724: Use snd_ctl_enum_info() 2014-10-21 09:02:50 +02:00
se.h [ALSA] ice1724 - Add support of Onkyo SE-90PCI and SE-200PCI 2008-01-31 17:29:09 +01:00
stac946x.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vt1720_mobo.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
vt1720_mobo.h [ALSA] Fix conflicts between const and __devinitdata 2007-05-11 16:55:49 +02:00
wm8766.c ALSA: ice1712: wm8766: Remove some unused functions 2015-01-11 17:03:52 +01:00
wm8766.h ALSA: ice1712: wm8766: Remove some unused functions 2015-01-11 17:03:52 +01:00
wm8776.c ALSA: ice1712: wm8776.c: Remove some unused functions 2014-12-26 12:22:09 +01:00
wm8776.h ALSA: ice1712: wm8776.c: Remove some unused functions 2014-12-26 12:22:09 +01:00
wtm.c ALSA: ice1724: ESI W192M: Add sampling rate control of the ADC/DAC 2015-03-18 08:07:00 +01:00
wtm.h ALSA: ice1712/wtm: fix coding style 2008-09-09 09:11:39 +02:00