freebsd-dev/sys/dev/sound/pci/hda
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_reg.h Improve HDMI/DisplayPort audio support in snd_hda(4): 2012-01-18 19:12:33 +00:00
hdaa_patches.c Add quirk to configure headphones redirection on Intel DH87RL boards. 2014-04-23 19:25:59 +00:00
hdaa.c - Sprinkle const and static as appropriate. 2014-04-23 19:32:50 +00:00
hdaa.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
hdac_if.m Two 192/24/8 playback streams overflow single mandatory output line (SDO) 2012-01-19 01:55:48 +00:00
hdac_private.h Two 192/24/8 playback streams overflow single mandatory output line (SDO) 2012-01-19 01:55:48 +00:00
hdac_reg.h Major snd_hda driver rewrite: 2012-01-15 13:21:36 +00:00
hdac.c Fix various bugs with freeing static DMA allocations in sound drivers: 2014-06-17 16:07:57 +00:00
hdac.h Add quirk to configure headphones redirection on Intel DH87RL boards. 2014-04-23 19:25:59 +00:00
hdacc.c - Sprinkle const and static as appropriate. 2014-04-23 19:32:50 +00:00