]> git.baikalelectronics.ru Git - 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)
commit4fc61b1765bcec7c9e01dd7c9a63adb85de0a86e
tree3a00af4ce1ea3084430bbc276661862d82284d18
parent23cec0d8d0784f367bca73c099726575737c0c86
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