]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dice: use cache for PCM constraints and rules
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 2 May 2018 10:16:50 +0000 (19:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 May 2018 14:02:06 +0000 (16:02 +0200)
commit35ceba7b2a7e26b7d1a8dc32d8deeb5c42fb38e0
tree11745081455d551cb4c9fb3572f5890bd9c57100
parent730a9fc563d5f15b46f343603c2cacb7f6d1beb2
ALSA: dice: use cache for PCM constraints and rules

In former commits, proxy structure gets members for cache of stream
formats. The cache allows to apply correct constraints and rules to
runtime of PCM substream. They allows userspace applications to change
current sampling transmission frequency.

This commit uses the cacher for the PCM constraints and rules.

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