]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite02de47e3c020c7bc8ce587b1b98cfc817e7db8e
treecd8ae74b7119d021ef19f544a6c6b9279e8955cc
parentd81052f92c3d018ade20ecbf461004566428d9a5
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