ALSA: dice: use cache of stream format to check running stream
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 2 May 2018 10:16:46 +0000 (19:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 May 2018 14:02:02 +0000 (16:02 +0200)
commitec592fd32e102ec91d7c61c901093ce17878ccb7
treedacd49ebe17793d05071b56cf1f93a82e4a69065
parent58579c056c1c9510ae6695ed8e01ee05bbdcfb23
ALSA: dice: use cache of stream format to check running stream

At present, to check running stream, available stream formats are used
at current sampling transmission frequency (stf). But when changing stf,
it's convenient to use cache of stream formats.

This commit applies this idea.

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