ALSA: fireworks: use managed-resource to maintain response buffer
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 2 Oct 2018 23:21:52 +0000 (08:21 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Oct 2018 05:54:07 +0000 (07:54 +0200)
commit784fffbcfe117b508ff628cf296541ab70463140
tree2be5c60a9548f5bddbca8789b09327814690317b
parenta3aaf7d2bd388caea2bd0fba266b815ac708c49d
ALSA: fireworks: use managed-resource to maintain response buffer

ALSA fireworks driver allocates memory object to handle response from
target unit. The object is used to initiate transaction unique to
Fireworks board module. This can be released as managed-resource
of 'struct snd_card.card_dev'.

This commit uses managed-resource of the sound card device for this
purpose.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks.c