summaryrefslogtreecommitdiffstats
path: root/sound/drivers/pcsp
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2017-06-09 09:34:39 +0900
committerTakashi Iwai <tiwai@suse.de>2017-06-09 09:18:25 +0200
commitf9a076bff053100c9c3d1d5cca33ca856688b782 (patch)
treea6d77e00e65a162c0ca5073896cd2567dd20542e /sound/drivers/pcsp
parente02de47e3c020c7bc8ce587b1b98cfc817e7db8e (diff)
downloadlinux-f9a076bff053100c9c3d1d5cca33ca856688b782.tar.gz
linux-f9a076bff053100c9c3d1d5cca33ca856688b782.tar.bz2
linux-f9a076bff053100c9c3d1d5cca33ca856688b782.zip
ALSA: pcm: calculate non-mask/non-interval parameters always when possible
A structure for parameters of PCM runtime has parameters which are not classified as mask/interval type. They are decided only when corresponding normal parameters have unique values. * struct snd_pcm_hw_params.msbits * struct snd_pcm_hw_params.rate_num * struct snd_pcm_hw_params.rate_den * struct snd_pcm_hw_params.fifo_size Current implementation of hw_params ioctl sometimes doesn't decide these parameters even if corresponding parameters are fixed, because these parameters are evaluated before a call of snd_pcm_hw_params_choose(). This commit adds a helper function to process the parameters and call it in proper positions. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/pcsp')
0 files changed, 0 insertions, 0 deletions