ALSA: rme96: Add PM support v3
authorKnut Petersen <Knut_Petersen@t-online.de>
Wed, 21 Aug 2013 07:18:54 +0000 (09:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Aug 2013 09:54:57 +0000 (11:54 +0200)
commit528ba522e18b95d25adc62367f04290776c390e5
tree65f4fff4b10d155aa6fc5a21be2b52f4f4d2ccac
parentb43dd416be21bc8ad60984e13def032f01aaaa18
ALSA: rme96: Add PM support v3

Without proper power management handling, the first use
of a Digi96/8 anytime after a suspend / resume cycle will
start playback with distortions.

v3: Abort if vmalloc() of suspend buffers fail, but do not
leak memory in that case.

[fixed wrong memory leak fix again -- tiwai]

Signed-off-by: Knut Petersen <Knut_Petersen@t-online.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme96.c