ALSA: fireworks: code refactoring for pcm.hw_params/hw_free
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 12 Jun 2019 08:44:10 +0000 (17:44 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Jun 2019 13:26:51 +0000 (15:26 +0200)
commitfb56eb73c6266164e4b06c9eca9716348420dbf1
treef1c63ab3e24a9ee50e5a78bef9a3c28931ac7e1d
parentadd147ad556cce588d1a714a6df4c4e556a6cb2f
ALSA: fireworks: code refactoring for pcm.hw_params/hw_free

Two sets of callbacks for pcm.hw_params/hw_free but they have the same
codes. This commit unifies each of the callbacks.

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