freebsd-nq/sys/dev/sound/pci
John Baldwin 86843ea8de Fix various bugs with freeing static DMA allocations in sound drivers:
- Don't compare the DMA map to NULL to determine if bus_dmamap_unload()
  should be called when releasing a static allocation.  Instead, compare
  the bus address against 0.
- Don't assume that the DMA map for static allocations is NULL.  Instead,
  save the value set by bus_dmamem_alloc() so it can later be passed to
  bus_dmamem_free().  Also, add missing calls to bus_dmamap_unload() in
  these cases before freeing the buffer.
- Use the bus address from the bus_dma callback instead of calling
  vtophys() on the address allocated by bus_dmamem_alloc().

Reviewed by:	kan
2014-06-17 16:07:57 +00:00
..
hda Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
allegro_code.h
allegro_reg.h
als4000.c
als4000.h
atiixp.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
atiixp.h
aureal.c
aureal.h
cmi.c
cmireg.h
cs461x_dsp.h
cs4281.c
cs4281.h
csa.c
csapcm.c
csareg.h
csavar.h
ds1-fw.h
ds1.c
ds1.h
emu10k1.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
emu10kx-midi.c
emu10kx-pcm.c
emu10kx.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
emu10kx.h
emuxkireg.h
envy24.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
envy24.h
envy24ht.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
envy24ht.h
es137x.c
es137x.h
fm801.c
hdspe-pcm.c
hdspe.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
hdspe.h
ich.c
ich.h
maestro3.c
maestro_reg.h
maestro.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
neomagic-coeff.h
neomagic.c
neomagic.h
solo.c
spicds.c
spicds.h
t4dwave.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
t4dwave.h
via82c686.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
via82c686.h
via8233.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
via8233.h
vibes.c
vibes.h