]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: use helper functions to refer parameters as constants
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 9 Jun 2017 00:34:38 +0000 (09:34 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Jun 2017 07:18:24 +0000 (09:18 +0200)
commit599970a102d0f73860da0661a0d28d7cb2095a2c
treecd8ae74b7119d021ef19f544a6c6b9279e8955cc
parentde2d6a4f92bbe118a01c29a56cca5ec5eccb6706
ALSA: pcm: use helper functions to refer parameters as constants

To fixup some parameters, ALSA PCM core refers the other parameters as
constants. There're some macros for this purpose.

This commit replaces codes with them.

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