]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix memory leak and error handling in CA0132 DSP loader
authorTakashi Iwai <tiwai@suse.de>
Sun, 10 Feb 2013 10:58:40 +0000 (11:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 10 Feb 2013 10:58:40 +0000 (11:58 +0100)
commit2cfc9605839d916c9ab3e0b568f9f73a96631b35
tree6edfef15c2a1598de92c6fff7f17700ffb4ec53c
parent804922705ec471c00966bdff70957a45f008d850
ALSA: hda - Fix memory leak and error handling in CA0132 DSP loader

This patch fixes a few obvious bugs in DSP loader stuff:
- Fix possible memory leaks in the error path
- Avoid double-free calls in dma_reset()
- Properly set/unset WC bits for DMA buffers
- Add missing error status checks

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_ca0132.c