]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dice: add cache of stream formats
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 2 May 2018 10:16:39 +0000 (19:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 May 2018 14:01:50 +0000 (16:01 +0200)
commit13dc3207c19f03f647138785f23a8682bae2d6ae
treef4e681dbc6c2f03d372fadd720f9699def2403ff
parenta4ba0ec7707d49067e0d4faa4a954332fbc0ec4a
ALSA: dice: add cache of stream formats

A previous commit 02d142626e3b ('ALSA: dice: purge generating channel
cache') purged cache of stream formats. DICE interface originally has
no feature to assist drivers to retrieve available formats for all of
supported sampling transmission frequencies, without changing the
frequency actually.

For later release of Dice ASICs such as TCD2210, Dice interface has
extended protocol and can support the feature. This assists drivers
to retrieve available stream formats.

This commit is a first step to regain the cache to generate PCM rules
for all of supported sampling transmission frequencies.

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