freebsd-dev/sys/dev/sound
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
..
isa
macio
midi
pci Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
pcm Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
sbus
usb Make sure the USB audio driver is loaded last. This is important when 2014-05-14 11:25:59 +00:00
chip.h
clone.c
clone.h
driver.c
unit.c
unit.h
version.h