]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ALSA: pcm: move fixup of info flag after selecting single parameters
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 9 Jun 2017 00:34:40 +0000 (09:34 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 07:18:26 +0000 (09:18 +0200)
commit7802fb52564b5d6b4fdcf25a08d487897f9e4a8b
tree3a00af4ce1ea3084430bbc276661862d82284d18
parentf9a076bff053100c9c3d1d5cca33ca856688b782
ALSA: pcm: move fixup of info flag after selecting single parameters

When drivers register no flags about information of PCM hardware, ALSA
PCM core fixups it roughly. Currently, this operation places in a
function snd_pcm_hw_refine(). It can be moved to a function
fixup_unreferenced_params() because it doesn't affects operations
between these two functions.

This idea is better to bundle codes with similar purposes and this commit
achieves it.

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